You are here

public function IcuResFileLoaderTest::testLoadInvalidResource in Plug 7

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

File

lib/Symfony/translation/Tests/Loader/IcuResFileLoaderTest.php, line 50

Class

IcuResFileLoaderTest

Namespace

Symfony\Component\Translation\Tests\Loader

Code

public function testLoadInvalidResource() {
  $loader = new IcuResFileLoader();
  $loader
    ->load(__DIR__ . '/../fixtures/resourcebundle/corrupted', 'en', 'domain1');
}