public function GetterMetadataTest::testGetPropertyValueFromHasser in Plug 7
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Tests/ Mapping/ GetterMetadataTest.php, line 55
Class
Namespace
Symfony\Component\Validator\Tests\MappingCode
public function testGetPropertyValueFromHasser() {
$entity = new Entity();
$metadata = new GetterMetadata(self::CLASSNAME, 'permissions');
$this
->assertEquals('permissions', $metadata
->getPropertyValue($entity));
}