public function YamlFileLoaderTest::testLoadClassMetadataReturnsTrueIfSuccessful in Plug 7
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Tests/ Mapping/ Loader/ YamlFileLoaderTest.php, line 61
Class
Namespace
Symfony\Component\Validator\Tests\Mapping\LoaderCode
public function testLoadClassMetadataReturnsTrueIfSuccessful() {
$loader = new YamlFileLoader(__DIR__ . '/constraint-mapping.yml');
$metadata = new ClassMetadata('Symfony\\Component\\Validator\\Tests\\Fixtures\\Entity');
$this
->assertTrue($loader
->loadClassMetadata($metadata));
}