You are here

public function IniFileLoaderTest::testExceptionIsRaisedWhenIniFileDoesNotExist in Service Container 7

Same name and namespace in other branches
  1. 7.2 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Tests/Loader/IniFileLoaderTest.php \Symfony\Component\DependencyInjection\Tests\Loader\IniFileLoaderTest::testExceptionIsRaisedWhenIniFileDoesNotExist()

@covers Symfony\Component\DependencyInjection\Loader\IniFileLoader::__construct @covers Symfony\Component\DependencyInjection\Loader\IniFileLoader::load

@expectedException \InvalidArgumentException @expectedExceptionMessage The file "foo.ini" does not exist (in:

File

modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Tests/Loader/IniFileLoaderTest.php, line 53

Class

IniFileLoaderTest

Namespace

Symfony\Component\DependencyInjection\Tests\Loader

Code

public function testExceptionIsRaisedWhenIniFileDoesNotExist() {
  $this->loader
    ->load('foo.ini');
}