You are here

public function YamlFileLoaderTest::testLoadThrowsAnExceptionIfFileNotLocal in Plug 7

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

File

lib/Symfony/translation/Tests/Loader/YamlFileLoaderTest.php, line 54

Class

YamlFileLoaderTest

Namespace

Symfony\Component\Translation\Tests\Loader

Code

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