You are here

public function IcuResFileLoaderTest::testLoadInvalidResource in Zircon Profile 8

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

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

File

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