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