You are here

public function MoFileLoaderTest::testLoadNonExistingResource in Plug 7

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

File

lib/Symfony/translation/Tests/Loader/MoFileLoaderTest.php, line 44

Class

MoFileLoaderTest

Namespace

Symfony\Component\Translation\Tests\Loader

Code

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