You are here

public function IcuResFileLoaderTest::testLoadNonExistingResource in Zircon Profile 8

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

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

File

vendor/symfony/translation/Tests/Loader/IcuResFileLoaderTest.php, line 41

Class

IcuResFileLoaderTest

Namespace

Symfony\Component\Translation\Tests\Loader

Code

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