You are here

public function CsvFileLoaderTest::testLoadNonExistingResource in Plug 7

@expectedException \Symfony\Component\Translation\Exception\NotFoundResourceException

File

lib/Symfony/translation/Tests/Loader/CsvFileLoaderTest.php, line 44

Class

CsvFileLoaderTest

Namespace

Symfony\Component\Translation\Tests\Loader

Code

public function testLoadNonExistingResource() {
  $loader = new CsvFileLoader();
  $resource = __DIR__ . '/../fixtures/not-exists.csv';
  $loader
    ->load($resource, 'en', 'domain1');
}