You are here

public function MessageCatalogueTest::testGetDomains 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::testGetDomains()

File

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

Class

MessageCatalogueTest

Namespace

Symfony\Component\Translation\Tests

Code

public function testGetDomains() {
  $catalogue = new MessageCatalogue('en', array(
    'domain1' => array(),
    'domain2' => array(),
  ));
  $this
    ->assertEquals(array(
    'domain1',
    'domain2',
  ), $catalogue
    ->getDomains());
}