<?php/* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */namespaceSymfony\Component\Routing\Tests\Matcher\Dumper;useSymfony\Component\Routing\Matcher\Dumper\DumperCollection;classDumperCollectionTestextends\PHPUnit_Framework_TestCase{publicfunctiontestGetRoot(){$a=newDumperCollection();$b=newDumperCollection();$a->add($b);$c=newDumperCollection();$b->add($c);$d=newDumperCollection();$c->add($d);$this->assertSame($a,$c->getRoot());}}