public function GetterMetadataTest::testGetPropertyValueFromOverriddenPublicGetter in Plug 7
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Tests/ Mapping/ GetterMetadataTest.php, line 39
Class
Namespace
Symfony\Component\Validator\Tests\MappingCode
public function testGetPropertyValueFromOverriddenPublicGetter() {
$entity = new Entity();
$metadata = new GetterMetadata(self::CLASSNAME, 'data');
$this
->assertEquals('Overridden data', $metadata
->getPropertyValue($entity));
}