public function YamlFileLoaderTest::testLoadThrowsAnExceptionIfFileNotLocal in Plug 7
@expectedException \Symfony\Component\Translation\Exception\InvalidResourceException
File
- lib/
Symfony/ translation/ Tests/ Loader/ YamlFileLoaderTest.php, line 54
Class
Namespace
Symfony\Component\Translation\Tests\LoaderCode
public function testLoadThrowsAnExceptionIfFileNotLocal() {
$loader = new YamlFileLoader();
$resource = 'http://example.com/resources.yml';
$loader
->load($resource, 'en', 'domain1');
}