You are here

public function YamlFileLoaderTest::testLoadInvalidFile in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/dependency-injection/Tests/Loader/YamlFileLoaderTest.php \Symfony\Component\DependencyInjection\Tests\Loader\YamlFileLoaderTest::testLoadInvalidFile()

@dataProvider provideInvalidFiles @expectedException \Symfony\Component\DependencyInjection\Exception\InvalidArgumentException

File

vendor/symfony/dependency-injection/Tests/Loader/YamlFileLoaderTest.php, line 75

Class

YamlFileLoaderTest

Namespace

Symfony\Component\DependencyInjection\Tests\Loader

Code

public function testLoadInvalidFile($file) {
  $loader = new YamlFileLoader(new ContainerBuilder(), new FileLocator(self::$fixturesPath . '/yaml'));
  $loader
    ->load($file . '.yml');
}