You are here

public function AbstractOperationTest::testGetMessagesFromUnknownDomain in Plug 7

File

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