public function PropertyMetadataTest::testGetPropertyValueFromPrivateProperty in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/Tests/Mapping/PropertyMetadataTest.php \Symfony\Component\Validator\Tests\Mapping\PropertyMetadataTest::testGetPropertyValueFromPrivateProperty()
File
- vendor/
symfony/ validator/ Tests/ Mapping/ PropertyMetadataTest.php, line 29
Class
Namespace
Symfony\Component\Validator\Tests\MappingCode
public function testGetPropertyValueFromPrivateProperty() {
$entity = new Entity('foobar');
$metadata = new PropertyMetadata(self::CLASSNAME, 'internal');
$this
->assertEquals('foobar', $metadata
->getPropertyValue($entity));
}