You are here

public function GetterMetadataTest::testGetPropertyValueFromOverriddenPublicGetter in Plug 7

File

lib/Symfony/validator/Symfony/Component/Validator/Tests/Mapping/GetterMetadataTest.php, line 39

Class

GetterMetadataTest

Namespace

Symfony\Component\Validator\Tests\Mapping

Code

public function testGetPropertyValueFromOverriddenPublicGetter() {
  $entity = new Entity();
  $metadata = new GetterMetadata(self::CLASSNAME, 'data');
  $this
    ->assertEquals('Overridden data', $metadata
    ->getPropertyValue($entity));
}