public function YamlFileLoaderTest::testInvalidYamlFiles in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/Tests/Mapping/Loader/YamlFileLoaderTest.php \Symfony\Component\Validator\Tests\Mapping\Loader\YamlFileLoaderTest::testInvalidYamlFiles()
@dataProvider provideInvalidYamlFiles @expectedException \InvalidArgumentException
File
- vendor/
symfony/ validator/ Tests/ Mapping/ Loader/ YamlFileLoaderTest.php, line 40
Class
Namespace
Symfony\Component\Validator\Tests\Mapping\LoaderCode
public function testInvalidYamlFiles($path) {
$loader = new YamlFileLoader(__DIR__ . '/' . $path);
$metadata = new ClassMetadata('Symfony\\Component\\Validator\\Tests\\Fixtures\\Entity');
$loader
->loadClassMetadata($metadata);
}