public function YamlFileLoaderTest::testLoadNonExistingResource in Plug 7
@expectedException \Symfony\Component\Translation\Exception\NotFoundResourceException
File
- lib/
Symfony/ translation/ Tests/ Loader/ YamlFileLoaderTest.php, line 44
Class
Namespace
Symfony\Component\Translation\Tests\LoaderCode
public function testLoadNonExistingResource() {
$loader = new YamlFileLoader();
$resource = __DIR__ . '/../fixtures/non-existing.yml';
$loader
->load($resource, 'en', 'domain1');
}