public function MoFileLoaderTest::testLoadInvalidResource 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::testLoadInvalidResource()
@expectedException \Symfony\Component\Translation\Exception\InvalidResourceException
File
- vendor/
symfony/ translation/ Tests/ Loader/ MoFileLoaderTest.php, line 54
Class
Namespace
Symfony\Component\Translation\Tests\LoaderCode
public function testLoadInvalidResource() {
$loader = new MoFileLoader();
$resource = __DIR__ . '/../fixtures/empty.mo';
$loader
->load($resource, 'en', 'domain1');
}