ExecutableMenuItemViewImpl implements ExecutableMenuItemView { @EventHandler("liElement") public void onClickEvent(ClickEvent event) { executableMenuItemPresenter.onClickEvent(event, liElement); }  @Override LIElement getLExecutableMenuElement(); @Override void setPresenter(ExecutableMenuItemPresenter executableMenuItemPresenter); @Override void setId(String id); @Override void setDataI18nKey(String dataI18nKey); @Override void setLabel(String label); @EventHandler("liElement") void onClickEvent(ClickEvent event);  }
@Test public void onClickEvent() { ClickEvent mockClickEvent = mock(ClickEvent.class); menuItemView.onClickEvent(mockClickEvent); verify(mockMenuItemPresenter, times(1)).onClickEvent(mockClickEvent); }