Fix missing getter for private field test for PropertyAccess 2.3+

See: https://github.com/symfony/PropertyAccess/commit/df67239b02a9cef12cf84579f6cf569680298238