You are here

public function CsvFileLoaderTest::testLoadNonLocalResource in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/translation/Tests/Loader/CsvFileLoaderTest.php \Symfony\Component\Translation\Tests\Loader\CsvFileLoaderTest::testLoadNonLocalResource()

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

File

vendor/symfony/translation/Tests/Loader/CsvFileLoaderTest.php, line 54

Class

CsvFileLoaderTest

Namespace

Symfony\Component\Translation\Tests\Loader

Code

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