You are here

public function AbstractOperationTest::testGetMessagesFromUnknownDomain in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/translation/Tests/Catalogue/AbstractOperationTest.php \Symfony\Component\Translation\Tests\Catalogue\AbstractOperationTest::testGetMessagesFromUnknownDomain()

File

vendor/symfony/translation/Tests/Catalogue/AbstractOperationTest.php, line 41

Class

AbstractOperationTest

Namespace

Symfony\Component\Translation\Tests\Catalogue

Code

public function testGetMessagesFromUnknownDomain() {
  $this
    ->setExpectedException('InvalidArgumentException');
  $this
    ->createOperation(new MessageCatalogue('en'), new MessageCatalogue('en'))
    ->getMessages('domain');
}