public function PropertyMetadataTest::testGetPropertyValueFromOverriddenPrivateProperty 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::testGetPropertyValueFromOverriddenPrivateProperty()
File
- vendor/
symfony/ validator/ Tests/ Mapping/ PropertyMetadataTest.php, line 37
Class
Namespace
Symfony\Component\Validator\Tests\MappingCode
public function testGetPropertyValueFromOverriddenPrivateProperty() {
$entity = new Entity('foobar');
$metadata = new PropertyMetadata(self::PARENTCLASS, 'data');
$this
->assertTrue($metadata
->isPublic($entity));
$this
->assertEquals('Overridden data', $metadata
->getPropertyValue($entity));
}