@Test
public void setupMenuTest() {

    droolsWorkbenchEntryPoint.setupMenu();
    ArgumentCaptor<Menus> menusCaptor = ArgumentCaptor.forClass(Menus.class);
    verify(menuBar).addMenus(menusCaptor.capture());
    Menus menus = menusCaptor.getValue();
    assertEquals(1,
                 menus.getItems().size());
    assertEquals(droolsWorkbenchEntryPoint.constants.Perspectives(),
                 menus.getItems().get(0).getCaption());
    verify(menusHelper).addUtilitiesMenuItems();
}