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