public function XliffFileLoaderTest::testLoadThrowsAnExceptionIfFileNotLocal in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/translation/Tests/Loader/XliffFileLoaderTest.php \Symfony\Component\Translation\Tests\Loader\XliffFileLoaderTest::testLoadThrowsAnExceptionIfFileNotLocal()
@expectedException \Symfony\Component\Translation\Exception\InvalidResourceException
File
- vendor/
symfony/ translation/ Tests/ Loader/ XliffFileLoaderTest.php, line 107
Class
Namespace
Symfony\Component\Translation\Tests\LoaderCode
public function testLoadThrowsAnExceptionIfFileNotLocal() {
$loader = new XliffFileLoader();
$resource = 'http://example.com/resources.xlf';
$loader
->load($resource, 'en', 'domain1');
}