You are here

public function MoFileLoaderTest::testLoadInvalidResource in Plug 7

@expectedException \Symfony\Component\Translation\Exception\InvalidResourceException

File

lib/Symfony/translation/Tests/Loader/MoFileLoaderTest.php, line 54

Class

MoFileLoaderTest

Namespace

Symfony\Component\Translation\Tests\Loader

Code

public function testLoadInvalidResource() {
  $loader = new MoFileLoader();
  $resource = __DIR__ . '/../fixtures/empty.mo';
  $loader
    ->load($resource, 'en', 'domain1');
}