@Test public void onContextMenuEvent() { ContextMenuEvent mockEvent = mock(ContextMenuEvent.class); baseMenuView.onContextMenuEvent(mockEvent); verify(mockBaseMenu, times(1)).onContextMenuEvent(mockEvent); }
@EventHandler() public void onContextMenuEvent(ContextMenuEvent event) { presenter.onContextMenuEvent(event); }
BaseMenuViewImpl extends Composite implements BaseMenuView<M> { @EventHandler() public void onContextMenuEvent(ContextMenuEvent event) { presenter.onContextMenuEvent(event); } }
BaseMenuViewImpl extends Composite implements BaseMenuView<M> { @EventHandler() public void onContextMenuEvent(ContextMenuEvent event) { presenter.onContextMenuEvent(event); }  }
BaseMenuViewImpl extends Composite implements BaseMenuView<M> { @EventHandler() public void onContextMenuEvent(ContextMenuEvent event) { presenter.onContextMenuEvent(event); }  @Override void init(final M presenter); @Override UListElement getContextMenuDropdown(); @EventHandler() void onContextMenuEvent(ContextMenuEvent event); }
BaseMenuViewImpl extends Composite implements BaseMenuView<M> { @EventHandler() public void onContextMenuEvent(ContextMenuEvent event) { presenter.onContextMenuEvent(event); }  @Override void init(final M presenter); @Override UListElement getContextMenuDropdown(); @EventHandler() void onContextMenuEvent(ContextMenuEvent event);  }