public function YamlFileLoaderTest::testLoadThrowsExceptionWithInvalidFile

@expectedException \InvalidArgumentException @dataProvider getPathsToInvalidFiles

File

drupal/core/vendor/symfony/routing/Symfony/Component/Routing/Tests/Loader/YamlFileLoaderTest.php, line 55

Class

YamlFileLoaderTest

Namespace

Symfony\Component\Routing\Tests\Loader

Code

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