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