You are here

public function IcuResFileLoaderTest::testLoadNonExistingResource in Plug 7

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

File

lib/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');
}