You are here

public function MessageCatalogueTest::testAddCatalogueWhenLocaleIsNotTheSameAsTheCurrentOne in Plug 7

@expectedException \LogicException

File

lib/Symfony/translation/Tests/MessageCatalogueTest.php, line 142

Class

MessageCatalogueTest

Namespace

Symfony\Component\Translation\Tests

Code

public function testAddCatalogueWhenLocaleIsNotTheSameAsTheCurrentOne() {
  $catalogue = new MessageCatalogue('en');
  $catalogue
    ->addCatalogue(new MessageCatalogue('fr', array()));
}