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