public function MoFileLoaderTest::testLoadNonExistingResource in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/translation/Tests/Loader/MoFileLoaderTest.php \Symfony\Component\Translation\Tests\Loader\MoFileLoaderTest::testLoadNonExistingResource()
@expectedException \Symfony\Component\Translation\Exception\NotFoundResourceException
File
- vendor/
symfony/ translation/ Tests/ Loader/ MoFileLoaderTest.php, line 44
Class
Namespace
Symfony\Component\Translation\Tests\LoaderCode
public function testLoadNonExistingResource() {
$loader = new MoFileLoader();
$resource = __DIR__ . '/../fixtures/non-existing.mo';
$loader
->load($resource, 'en', 'domain1');
}