public function YamlFileLoaderTest::testLoadInvalidFile in Service Container 7.2
Same name and namespace in other branches
- 7 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Tests/Loader/YamlFileLoaderTest.php \Symfony\Component\DependencyInjection\Tests\Loader\YamlFileLoaderTest::testLoadInvalidFile()
@dataProvider provideInvalidFiles @expectedException \Symfony\Component\DependencyInjection\Exception\InvalidArgumentException
File
- modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ Tests/ Loader/ YamlFileLoaderTest.php, line 75
Class
Namespace
Symfony\Component\DependencyInjection\Tests\LoaderCode
public function testLoadInvalidFile($file) {
$loader = new YamlFileLoader(new ContainerBuilder(), new FileLocator(self::$fixturesPath . '/yaml'));
$loader
->load($file . '.yml');
}