HistoryViewImpl extends Composite implements HistoryView { @Override public void removeRunner(@NotNull RunnerWidget runnerWidget) { runnersPanel.remove(runnerWidget); } @Inject  HistoryViewImpl(PartStackUIResources resources); @Override void addRunner(@NotNull RunnerWidget runnerWidget); @Override void removeRunner(@NotNull RunnerWidget runnerWidget); @Override void clear(); @Override void setDelegate(@NotNull ActionDelegate delegate);  }
@Test public void runnerShouldBeRemoved() throws Exception { historyView.removeRunner(runnerWidget); verify(historyView.runnersPanel).remove(runnerWidget); }