@Test public void testOnReset() { tested.init(presenter); tested.onReset(mock(ClickEvent.class)); verify(presenter, times(1)).onReset(); }
@EventHandler("resetButton") void onReset(ClickEvent event) { presenter.onReset(); }
ZoomLevelSelectorView extends Composite implements ZoomLevelSelector.View { @EventHandler("resetButton") void onReset(ClickEvent event) { presenter.onReset(); } }
ZoomLevelSelectorView extends Composite implements ZoomLevelSelector.View { @EventHandler("resetButton") void onReset(ClickEvent event) { presenter.onReset(); }  }
ZoomLevelSelectorView extends Composite implements ZoomLevelSelector.View { @EventHandler("resetButton") void onReset(ClickEvent event) { presenter.onReset(); }  @Override void init(final ZoomLevelSelector presenter); @Override void add(final String text,
                    final Command onClick); @Override void clear(); void setSelectedValue(String selectedItem); @Override void setText(String text); @Override void setEnabled(boolean enabled); @Override void dropUp(); @PreDestroy void destroy(); }
ZoomLevelSelectorView extends Composite implements ZoomLevelSelector.View { @EventHandler("resetButton") void onReset(ClickEvent event) { presenter.onReset(); }  @Override void init(final ZoomLevelSelector presenter); @Override void add(final String text,
                    final Command onClick); @Override void clear(); void setSelectedValue(String selectedItem); @Override void setText(String text); @Override void setEnabled(boolean enabled); @Override void dropUp(); @PreDestroy void destroy();  }