You are here

class DumperCollectionTest in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/routing/Tests/Matcher/Dumper/DumperCollectionTest.php \Symfony\Component\Routing\Tests\Matcher\Dumper\DumperCollectionTest

Hierarchy

  • class \Symfony\Component\Routing\Tests\Matcher\Dumper\DumperCollectionTest extends \Symfony\Component\Routing\Tests\Matcher\Dumper\PHPUnit_Framework_TestCase

Expanded class hierarchy of DumperCollectionTest

File

vendor/symfony/routing/Tests/Matcher/Dumper/DumperCollectionTest.php, line 16

Namespace

Symfony\Component\Routing\Tests\Matcher\Dumper
View source
class DumperCollectionTest extends \PHPUnit_Framework_TestCase {
  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());
  }

}

Members