public function MessageCatalogueTest::testAddFallbackCatalogueWithFallbackCircularReference in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/translation/Tests/MessageCatalogueTest.php \Symfony\Component\Translation\Tests\MessageCatalogueTest::testAddFallbackCatalogueWithFallbackCircularReference()
@expectedException \LogicException
File
- vendor/
symfony/ translation/ Tests/ MessageCatalogueTest.php, line 142
Class
Namespace
Symfony\Component\Translation\TestsCode
public function testAddFallbackCatalogueWithFallbackCircularReference() {
$fr = new MessageCatalogue('fr');
$en = new MessageCatalogue('en');
$es = new MessageCatalogue('es');
$fr
->addFallbackCatalogue($en);
$es
->addFallbackCatalogue($en);
$en
->addFallbackCatalogue($fr);
}