You are here

public function IniFileLoaderTest::testExceptionIsRaisedWhenIniFileDoesNotExist in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/dependency-injection/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

vendor/symfony/dependency-injection/Tests/Loader/IniFileLoaderTest.php, line 53

Class

IniFileLoaderTest

Namespace

Symfony\Component\DependencyInjection\Tests\Loader

Code

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