HistoryViewImpl extends Composite implements HistoryView { @Override public void clear() { runnersPanel.clear(); } @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 runnersPanelShouldBeClear() { historyView.clear(); verify(historyView.runnersPanel).clear(); }