You are here

public function MessageCatalogueTest::testAddCatalogueWhenLocaleIsNotTheSameAsTheCurrentOne in Zircon Profile 8

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

@expectedException \LogicException

File

vendor/symfony/translation/Tests/MessageCatalogueTest.php, line 156

Class

MessageCatalogueTest

Namespace

Symfony\Component\Translation\Tests

Code

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