You are here

public function MessageCatalogueTest::testGetDomains in Plug 7

File

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