public function YamlFileLoaderTest::testLoadClassMetadataReturnsFalseIfEmpty in Plug 7
File
- lib/
Symfony/ validator/ Symfony/ Component/ 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));
}