ExecutableMenuItemPresenter implements ExecutableMenuItemView.Presenter { @Override public LIElement getLExecutableMenuElement(String id, String label, Event event) { LIElement toReturn = getLExecutableMenuElement(id, label); menuItemsEventMap.put(toReturn, event); return toReturn; }  @Override void init(BaseMenu parent); @Override void setEventBus(EventBus eventBus); @Override void onClickEvent(ClickEvent event, LIElement clickedElement); @Override void fireEvent(LIElement clickedElement); @Override LIElement getLExecutableMenuElement(String id, String label, Event event); @Override LIElement getLExecutableMenuElement(String id, String label); @Override void mapEvent(LIElement executableMenuItem, Event toBeMapped); @Override void enableElement(boolean toEnable);  }
@Test public void getLIElement() { LIElement liElement = executableMenuItemPresenter.getLExecutableMenuElement("TEST-ID", "TEST-LABEL", mockEvent); assertNotNull(liElement); verify(mockMenuItemsEventMap, times(1)).put(liElement, mockEvent); }