You are here

public function YamlFileLoaderTest::testLoadNonExistingResource in Plug 7

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

File

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

Class

YamlFileLoaderTest

Namespace

Symfony\Component\Translation\Tests\Loader

Code

public function testLoadNonExistingResource() {
  $loader = new YamlFileLoader();
  $resource = __DIR__ . '/../fixtures/non-existing.yml';
  $loader
    ->load($resource, 'en', 'domain1');
}