public function PropertyMetadataTest::testGetPropertyValueFromPrivateProperty in Plug 7
File
- lib/
Symfony/ validator/ Symfony/ Component/ 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));
}