You are here

public function IcuDatFileLoaderTest::testLoadInvalidResource in Plug 7

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

File

lib/Symfony/translation/Tests/Loader/IcuDatFileLoaderTest.php, line 29

Class

IcuDatFileLoaderTest

Namespace

Symfony\Component\Translation\Tests\Loader

Code

public function testLoadInvalidResource() {
  $loader = new IcuDatFileLoader();
  $loader
    ->load(__DIR__ . '/../fixtures/resourcebundle/corrupted/resources', 'es', 'domain2');
}