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