You are here

public function GetterMetadataTest::testGetPropertyValueFromOverriddenPublicGetter in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/validator/Tests/Mapping/GetterMetadataTest.php \Symfony\Component\Validator\Tests\Mapping\GetterMetadataTest::testGetPropertyValueFromOverriddenPublicGetter()

File

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