You are here

public function IniFileLoaderTest::testExceptionIsRaisedWhenIniFileCannotBeParsed 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::testExceptionIsRaisedWhenIniFileCannotBeParsed()

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

@expectedException \InvalidArgumentException @expectedExceptionMessage The "nonvalid.ini" file is not valid.

File

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

Class

IniFileLoaderTest

Namespace

Symfony\Component\DependencyInjection\Tests\Loader

Code

public function testExceptionIsRaisedWhenIniFileCannotBeParsed() {
  @$this->loader
    ->load('nonvalid.ini');
}