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