You are here

public function PropertyMetadataTest::testGetPropertyValueFromPrivateProperty in Plug 7

File

lib/Symfony/validator/Symfony/Component/Validator/Tests/Mapping/PropertyMetadataTest.php, line 29

Class

PropertyMetadataTest

Namespace

Symfony\Component\Validator\Tests\Mapping

Code

public function testGetPropertyValueFromPrivateProperty() {
  $entity = new Entity('foobar');
  $metadata = new PropertyMetadata(self::CLASSNAME, 'internal');
  $this
    ->assertEquals('foobar', $metadata
    ->getPropertyValue($entity));
}