public function PropertyMetadataTest::testGetPropertyValueFromPrivateProperty

File

drupal/core/vendor/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));
}