protected function outputDashboardMenu() { if (!$this->testIfDashboardMenuShouldBeShown()) { return; } $this->initilizeDashboardMenu(); $dashboardCode = $this->menu->render(); $this->insertIntoResponse($dashboardCode); }
public function testGetChilds() { $menu = new Menu(); $items = $menu->getItems(); $this->AssertTrue($items instanceof ItemList); }