public function YamlFileLoaderTest::testLoadClassMetadataReturnsFalseIfEmpty in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/validator/Tests/Mapping/Loader/YamlFileLoaderTest.php \Symfony\Component\Validator\Tests\Mapping\Loader\YamlFileLoaderTest::testLoadClassMetadataReturnsFalseIfEmpty()
File
- vendor/
symfony/ validator/ Tests/ Mapping/ Loader/ YamlFileLoaderTest.php, line 28
Class
Namespace
Symfony\Component\Validator\Tests\Mapping\LoaderCode
public function testLoadClassMetadataReturnsFalseIfEmpty() {
$loader = new YamlFileLoader(__DIR__ . '/empty-mapping.yml');
$metadata = new ClassMetadata('Symfony\\Component\\Validator\\Tests\\Fixtures\\Entity');
$this
->assertFalse($loader
->loadClassMetadata($metadata));
}