public function GetterMetadataTest::testGetPropertyValueFromOverriddenPublicGetter

File

drupal/core/vendor/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));
}