You are here

public function GetterMetadataTest::testGetPropertyValueFromIsser 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::testGetPropertyValueFromIsser()

File

vendor/symfony/validator/Tests/Mapping/GetterMetadataTest.php, line 47

Class

GetterMetadataTest

Namespace

Symfony\Component\Validator\Tests\Mapping

Code

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