public function testGetRoots() { $roots = Entity::getRoots(); $this->assertCount(9, $roots); foreach ($roots as $idx => $root) { $this->assertEquals($idx + 1, $roots->get($idx)->getKey()); } }