You are here

public function ClassMetadataTest::testGetPropertyMetadataReturnsEmptyArrayWithoutConfiguredMetadata in Plug 7

https://github.com/symfony/symfony/issues/11604.

File

lib/Symfony/validator/Symfony/Component/Validator/Tests/Mapping/ClassMetadataTest.php, line 276

Class

ClassMetadataTest

Namespace

Symfony\Component\Validator\Tests\Mapping

Code

public function testGetPropertyMetadataReturnsEmptyArrayWithoutConfiguredMetadata() {
  $this
    ->assertCount(0, $this->metadata
    ->getPropertyMetadata('foo'), '->getPropertyMetadata() returns an empty collection if no metadata is configured for the given property');
}