ItemWidgetImpl extends Composite implements ItemWidget, ClickHandler { @Override public void setStartTime(@NotNull String time) { startTime.setText(time); } @Inject  ItemWidgetImpl(RunnerResources resources); @Override void select(); @Override void unSelect(); @Override void setDelegate(@NotNull ActionDelegate delegate); @Override void onClick(ClickEvent event); @Override void setName(@NotNull String name); @Override void setDescription(@Nullable String description); @Override void setStartTime(@NotNull String time); @Override void setImage(@NotNull SVGImage svgImageResource); @Override void setImage(@NotNull ImageResource imageResource); @NotNull @Override SimpleLayoutPanel getImagePanel();  }
@Test public void shouldSetStartTime() { itemWidget.setStartTime(TEST_TEXT); verify(itemWidget.startTime).setText(TEST_TEXT); }