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