@Test public void onClickEvent() { ClickEvent mockClickEvent = mock(ClickEvent.class); menuItemPresenter.onClickEvent(mockClickEvent); verify(mockClickEvent, times(1)).preventDefault(); verify(mockClickEvent, times(1)).stopPropagation(); }
@Override public void onClickEvent(ClickEvent event) { event.preventDefault(); event.stopPropagation(); }
MenuItemPresenter implements MenuItemView.Presenter { @Override public void onClickEvent(ClickEvent event) { event.preventDefault(); event.stopPropagation(); } }
MenuItemPresenter implements MenuItemView.Presenter { @Override public void onClickEvent(ClickEvent event) { event.preventDefault(); event.stopPropagation(); }  }
MenuItemPresenter implements MenuItemView.Presenter { @Override public void onClickEvent(ClickEvent event) { event.preventDefault(); event.stopPropagation(); }  @Override void onClickEvent(ClickEvent event); @Override LIElement getLabelMenuElement(String id, String label); @Override void onEnableElement(boolean toEnable); }
MenuItemPresenter implements MenuItemView.Presenter { @Override public void onClickEvent(ClickEvent event) { event.preventDefault(); event.stopPropagation(); }  @Override void onClickEvent(ClickEvent event); @Override LIElement getLabelMenuElement(String id, String label); @Override void onEnableElement(boolean toEnable);  }