You are here

public function IcuDatFileLoaderTest::testLoadInvalidResource in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/translation/Tests/Loader/IcuDatFileLoaderTest.php \Symfony\Component\Translation\Tests\Loader\IcuDatFileLoaderTest::testLoadInvalidResource()

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

File

vendor/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');
}