@Test public void testOnRemoveButtonClick() { view.onRemoveButtonClick(mock(ClickEvent.class)); verify(presenter).remove(); }
@EventHandler("remove-button") public void onRemoveButtonClick(final ClickEvent e) { presenter.remove(); }
BaseCardComponentContentView implements BaseCardComponent.ContentView { @EventHandler("remove-button") public void onRemoveButtonClick(final ClickEvent e) { presenter.remove(); } }
BaseCardComponentContentView implements BaseCardComponent.ContentView { @EventHandler("remove-button") public void onRemoveButtonClick(final ClickEvent e) { presenter.remove(); } @Inject  BaseCardComponentContentView(final HTMLParagraphElement path,
                                        final HTMLButtonElement removeButton); }
BaseCardComponentContentView implements BaseCardComponent.ContentView { @EventHandler("remove-button") public void onRemoveButtonClick(final ClickEvent e) { presenter.remove(); } @Inject  BaseCardComponentContentView(final HTMLParagraphElement path,
                                        final HTMLButtonElement removeButton); @Override void init(final BaseCardComponent presenter); @EventHandler("remove-button") void onRemoveButtonClick(final ClickEvent e); @Override void setPath(final String path); }
BaseCardComponentContentView implements BaseCardComponent.ContentView { @EventHandler("remove-button") public void onRemoveButtonClick(final ClickEvent e) { presenter.remove(); } @Inject  BaseCardComponentContentView(final HTMLParagraphElement path,
                                        final HTMLButtonElement removeButton); @Override void init(final BaseCardComponent presenter); @EventHandler("remove-button") void onRemoveButtonClick(final ClickEvent e); @Override void setPath(final String path);  }