public function MoFileLoaderTest::testLoadInvalidResource in Plug 7
@expectedException \Symfony\Component\Translation\Exception\InvalidResourceException
File
- lib/
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');
}