public function XmlFileLoaderTest::testLoadThrowsExceptionWithInvalidFileEvenWithoutSchemaValidation

@expectedException \InvalidArgumentException @dataProvider getPathsToInvalidFiles

File

drupal/core/vendor/symfony/routing/Symfony/Component/Routing/Tests/Loader/XmlFileLoaderTest.php, line 81

Class

XmlFileLoaderTest

Namespace

Symfony\Component\Routing\Tests\Loader

Code

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