You are here

public function XliffFileLoaderTest::testLoadResourceDoesNotValidate in Plug 7

@expectedException \Symfony\Component\Translation\Exception\InvalidResourceException

File

lib/Symfony/translation/Tests/Loader/XliffFileLoaderTest.php, line 88

Class

XliffFileLoaderTest

Namespace

Symfony\Component\Translation\Tests\Loader

Code

public function testLoadResourceDoesNotValidate() {
  $loader = new XliffFileLoader();
  $loader
    ->load(__DIR__ . '/../fixtures/non-valid.xlf', 'en', 'domain1');
}