You are here

public function YamlFileLoaderTest::testLoadNonExistingResource in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/translation/Tests/Loader/YamlFileLoaderTest.php \Symfony\Component\Translation\Tests\Loader\YamlFileLoaderTest::testLoadNonExistingResource()

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

File

vendor/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');
}