You are here

public function JsonFileLoaderTest::testLoadNonExistingResource in Plug 7

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

File

lib/Symfony/translation/Tests/Loader/JsonFileLoaderTest.php, line 51

Class

JsonFileLoaderTest

Namespace

Symfony\Component\Translation\Tests\Loader

Code

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