public function XliffFileLoaderTest::testParseEmptyFile in Plug 7
File
- lib/
Symfony/ translation/ Tests/ Loader/ XliffFileLoaderTest.php, line 124
Class
Namespace
Symfony\Component\Translation\Tests\LoaderCode
public function testParseEmptyFile() {
$loader = new XliffFileLoader();
$resource = __DIR__ . '/../fixtures/empty.xlf';
$this
->setExpectedException('Symfony\\Component\\Translation\\Exception\\InvalidResourceException', sprintf('Unable to load "%s":', $resource));
$loader
->load($resource, 'en', 'domain1');
}