@Test public void testOnAddIconClick() { view.onAddIconClick(mock(ClickEvent.class)); verify(presenter).addEnumerationItem(); }
@EventHandler("add-icon") public void onAddIconClick(final ClickEvent e) { presenter.addEnumerationItem(); }
DataTypeConstraintEnumerationView implements DataTypeConstraintEnumeration.View { @EventHandler("add-icon") public void onAddIconClick(final ClickEvent e) { presenter.addEnumerationItem(); } }
DataTypeConstraintEnumerationView implements DataTypeConstraintEnumeration.View { @EventHandler("add-icon") public void onAddIconClick(final ClickEvent e) { presenter.addEnumerationItem(); } @Inject  DataTypeConstraintEnumerationView(final HTMLDivElement items,
                                             final HTMLAnchorElement addIcon,
                                             final HTMLDivElement addButtonContainer); }
DataTypeConstraintEnumerationView implements DataTypeConstraintEnumeration.View { @EventHandler("add-icon") public void onAddIconClick(final ClickEvent e) { presenter.addEnumerationItem(); } @Inject  DataTypeConstraintEnumerationView(final HTMLDivElement items,
                                             final HTMLAnchorElement addIcon,
                                             final HTMLDivElement addButtonContainer); @Override void init(final DataTypeConstraintEnumeration presenter); @EventHandler("add-icon") void onAddIconClick(final ClickEvent e); @Override void clear(); @Override void addItem(final Element enumerationItem); }
DataTypeConstraintEnumerationView implements DataTypeConstraintEnumeration.View { @EventHandler("add-icon") public void onAddIconClick(final ClickEvent e) { presenter.addEnumerationItem(); } @Inject  DataTypeConstraintEnumerationView(final HTMLDivElement items,
                                             final HTMLAnchorElement addIcon,
                                             final HTMLDivElement addButtonContainer); @Override void init(final DataTypeConstraintEnumeration presenter); @EventHandler("add-icon") void onAddIconClick(final ClickEvent e); @Override void clear(); @Override void addItem(final Element enumerationItem);  }