public function ClassMetadataTest::testGetPropertyMetadataReturnsEmptyArrayWithoutConfiguredMetadata in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/validator/Tests/Mapping/ClassMetadataTest.php \Symfony\Component\Validator\Tests\Mapping\ClassMetadataTest::testGetPropertyMetadataReturnsEmptyArrayWithoutConfiguredMetadata()
https://github.com/symfony/symfony/issues/11604.
File
- vendor/
symfony/ validator/ Tests/ Mapping/ ClassMetadataTest.php, line 276
Class
Namespace
Symfony\Component\Validator\Tests\MappingCode
public function testGetPropertyMetadataReturnsEmptyArrayWithoutConfiguredMetadata() {
$this
->assertCount(0, $this->metadata
->getPropertyMetadata('foo'), '->getPropertyMetadata() returns an empty collection if no metadata is configured for the given property');
}