public function XliffFileLoaderTest::testDocTypeIsNotAllowed in Plug 7
@expectedException \Symfony\Component\Translation\Exception\InvalidResourceException @expectedExceptionMessage Document types are not allowed.
File
- lib/
Symfony/ translation/ Tests/ Loader/ XliffFileLoaderTest.php, line 118
Class
Namespace
Symfony\Component\Translation\Tests\LoaderCode
public function testDocTypeIsNotAllowed() {
$loader = new XliffFileLoader();
$loader
->load(__DIR__ . '/../fixtures/withdoctype.xlf', 'en', 'domain1');
}