You are here

public function XliffFileLoaderTest::testLoadInvalidResource in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/translation/Tests/Loader/XliffFileLoaderTest.php \Symfony\Component\Translation\Tests\Loader\XliffFileLoaderTest::testLoadInvalidResource()

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

File

vendor/symfony/translation/Tests/Loader/XliffFileLoaderTest.php, line 79

Class

XliffFileLoaderTest

Namespace

Symfony\Component\Translation\Tests\Loader

Code

public function testLoadInvalidResource() {
  $loader = new XliffFileLoader();
  $loader
    ->load(__DIR__ . '/../fixtures/resources.php', 'en', 'domain1');
}