class DumperCollectionTest in Zircon Profile 8.0
Same name and namespace in other branches
- 8 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\DumperView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DumperCollectionTest:: |
public | function |