You are here

public function IniFileLoaderTest::testLoadNonExistingResource in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/translation/Tests/Loader/IniFileLoaderTest.php \Symfony\Component\Translation\Tests\Loader\IniFileLoaderTest::testLoadNonExistingResource()

@expectedException \Symfony\Component\Translation\Exception\NotFoundResourceException

File

vendor/symfony/translation/Tests/Loader/IniFileLoaderTest.php, line 44

Class

IniFileLoaderTest

Namespace

Symfony\Component\Translation\Tests\Loader

Code

public function testLoadNonExistingResource() {
  $loader = new IniFileLoader();
  $resource = __DIR__ . '/../fixtures/non-existing.ini';
  $loader
    ->load($resource, 'en', 'domain1');
}