public function DumperCollectionTest::testGetRoot in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/routing/Tests/Matcher/Dumper/DumperCollectionTest.php \Symfony\Component\Routing\Tests\Matcher\Dumper\DumperCollectionTest::testGetRoot()
File
- vendor/
symfony/ routing/ Tests/ Matcher/ Dumper/ DumperCollectionTest.php, line 18
Class
Namespace
Symfony\Component\Routing\Tests\Matcher\DumperCode
public function testGetRoot() {
$a = new DumperCollection();
$b = new DumperCollection();
$a
->add($b);
$c = new DumperCollection();
$b
->add($c);
$d = new DumperCollection();
$c
->add($d);
$this
->assertSame($a, $c
->getRoot());
}