You are here

public function AbstractOperationTest::testGetMergedDomains in Zircon Profile 8

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

File

vendor/symfony/translation/Tests/Catalogue/AbstractOperationTest.php, line 30

Class

AbstractOperationTest

Namespace

Symfony\Component\Translation\Tests\Catalogue

Code

public function testGetMergedDomains() {
  $this
    ->assertEquals(array(
    'a',
    'b',
    'c',
  ), $this
    ->createOperation(new MessageCatalogue('en', array(
    'a' => array(),
    'b' => array(),
  )), new MessageCatalogue('en', array(
    'b' => array(),
    'c' => array(),
  )))
    ->getDomains());
}