Beispiel #1
0
 public function test_getMenu_shouldAddMenuItemsOfReports()
 {
     $this->loadSomePlugins();
     $items = $this->menu->getMenu();
     $this->assertNotEmpty($items);
     $this->assertGreaterThan(20, $items);
     $this->assertEquals(array('General_Actions', 'General_Visitors'), array_keys($items));
     $this->assertNotEmpty($items['General_Actions']['General_Pages']);
     $this->assertEquals('menuGetPageUrls', $items['General_Actions']['General_Pages']['_url']['action']);
 }