public function MessageCatalogueTest::testAddFallbackCatalogueWithCircularReference in Plug 7
@expectedException \LogicException
File
- lib/
Symfony/ translation/ Tests/ MessageCatalogueTest.php, line 130
Class
Namespace
Symfony\Component\Translation\TestsCode
public function testAddFallbackCatalogueWithCircularReference() {
$main = new MessageCatalogue('en_US');
$fallback = new MessageCatalogue('fr_FR');
$fallback
->addFallbackCatalogue($main);
$main
->addFallbackCatalogue($fallback);
}