public function QtFileLoaderTest::testLoadInvalidResource in Plug 7
@expectedException \Symfony\Component\Translation\Exception\InvalidResourceException
File
- lib/
Symfony/ translation/ Tests/ Loader/ QtFileLoaderTest.php, line 53
Class
Namespace
Symfony\Component\Translation\Tests\LoaderCode
public function testLoadInvalidResource() {
$loader = new QtFileLoader();
$resource = __DIR__ . '/../fixtures/invalid-xml-resources.xlf';
$loader
->load($resource, 'en', 'domain1');
}