public function JsonFileLoaderTest::testLoadNonExistingResource in Plug 7
@expectedException \Symfony\Component\Translation\Exception\NotFoundResourceException
File
- lib/
Symfony/ translation/ Tests/ Loader/ JsonFileLoaderTest.php, line 51
Class
Namespace
Symfony\Component\Translation\Tests\LoaderCode
public function testLoadNonExistingResource() {
$loader = new JsonFileLoader();
$resource = __DIR__ . '/../fixtures/non-existing.json';
$loader
->load($resource, 'en', 'domain1');
}