You are here

public function XmlFileLoaderTest::testLoadThrowsExceptionWithInvalidFileEvenWithoutSchemaValidation in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/routing/Tests/Loader/XmlFileLoaderTest.php \Symfony\Component\Routing\Tests\Loader\XmlFileLoaderTest::testLoadThrowsExceptionWithInvalidFileEvenWithoutSchemaValidation()

@expectedException \InvalidArgumentException @dataProvider getPathsToInvalidFiles

File

vendor/symfony/routing/Tests/Loader/XmlFileLoaderTest.php, line 118

Class

XmlFileLoaderTest

Namespace

Symfony\Component\Routing\Tests\Loader

Code

public function testLoadThrowsExceptionWithInvalidFileEvenWithoutSchemaValidation($filePath) {
  $loader = new CustomXmlFileLoader(new FileLocator(array(
    __DIR__ . '/../Fixtures',
  )));
  $loader
    ->load($filePath);
}