public function XmlFileLoaderTest::testLoadThrowsExceptionWithInvalidFile in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/routing/Tests/Loader/XmlFileLoaderTest.php \Symfony\Component\Routing\Tests\Loader\XmlFileLoaderTest::testLoadThrowsExceptionWithInvalidFile()
@expectedException \InvalidArgumentException @dataProvider getPathsToInvalidFiles
File
- vendor/
symfony/ routing/ Tests/ Loader/ XmlFileLoaderTest.php, line 108
Class
Namespace
Symfony\Component\Routing\Tests\LoaderCode
public function testLoadThrowsExceptionWithInvalidFile($filePath) {
$loader = new XmlFileLoader(new FileLocator(array(
__DIR__ . '/../Fixtures',
)));
$loader
->load($filePath);
}