You are here

public function XliffFileLoaderTest::testLoadNonExistingResource in Zircon Profile 8.0

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

@expectedException \Symfony\Component\Translation\Exception\NotFoundResourceException

File

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

Class

XliffFileLoaderTest

Namespace

Symfony\Component\Translation\Tests\Loader

Code

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