4 * This file is part of the Symfony package.
6 * (c) Fabien Potencier <fabien@symfony.com>
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
12 namespace Symfony\Component\Routing\Tests\Matcher\Dumper;
14 use PHPUnit\Framework\TestCase;
15 use Symfony\Component\Routing\Matcher\Dumper\DumperCollection;
17 class DumperCollectionTest extends TestCase
19 public function testGetRoot()
21 $a = new DumperCollection();
23 $b = new DumperCollection();
26 $c = new DumperCollection();
29 $d = new DumperCollection();
32 $this->assertSame($a, $c->getRoot());