public function XmlFileLoaderTest::testLoadClassMetadataReturnsTrueIfSuccessful in Zircon Profile 8
Same name in this branch
- 8 vendor/symfony/validator/Tests/Mapping/Loader/XmlFileLoaderTest.php \Symfony\Component\Validator\Tests\Mapping\Loader\XmlFileLoaderTest::testLoadClassMetadataReturnsTrueIfSuccessful()
- 8 vendor/symfony/serializer/Tests/Mapping/Loader/XmlFileLoaderTest.php \Symfony\Component\Serializer\Tests\Mapping\Loader\XmlFileLoaderTest::testLoadClassMetadataReturnsTrueIfSuccessful()
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/Tests/Mapping/Loader/XmlFileLoaderTest.php \Symfony\Component\Validator\Tests\Mapping\Loader\XmlFileLoaderTest::testLoadClassMetadataReturnsTrueIfSuccessful()
File
- vendor/
symfony/ 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));
}