You are here

public function PhpFileLoaderTest::testLoadThrowsAnExceptionIfFileNotLocal in Plug 7

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

File

lib/Symfony/translation/Tests/Loader/PhpFileLoaderTest.php, line 43

Class

PhpFileLoaderTest

Namespace

Symfony\Component\Translation\Tests\Loader

Code

public function testLoadThrowsAnExceptionIfFileNotLocal() {
  $loader = new PhpFileLoader();
  $resource = 'http://example.com/resources.php';
  $loader
    ->load($resource, 'en', 'domain1');
}