You are here

public function QtFileLoaderTest::testLoadNonExistingResource in Plug 7

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

File

lib/Symfony/translation/Tests/Loader/QtFileLoaderTest.php, line 33

Class

QtFileLoaderTest

Namespace

Symfony\Component\Translation\Tests\Loader

Code

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