You are here

public function QtFileLoaderTest::testLoadNonExistingResource in Zircon Profile 8.0

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

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

File

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