ConsoleContainerPresenter implements ConsoleContainer,
                                                  ConsoleContainerView.ActionDelegate,
                                                  SelectionManager.SelectionChangeListener { @Override public void onCleanClicked() { if (selectedConsole == null) { return; } selectedConsole.clear(); } @Inject  ConsoleContainerPresenter(ConsoleContainerView view, WidgetFactory widgetFactory, SelectionManager selectionManager); @Override void print(@NotNull Runner runner, @NotNull String message); @Override void printInfo(@NotNull Runner runner, @NotNull String message); @Override void printError(@NotNull Runner runner, @NotNull String message); @Override void printWarn(@NotNull Runner runner, @NotNull String message); @Override void reset(); @Override void onSelectionChanged(@NotNull Selection selection); @NotNull @Override IsWidget getView(); @Override void setVisible(boolean visible); @Override void go(AcceptsOneWidget container); @Override void onScrollBottomClicked(); @Override void onWrapTextClicked(); @Override void onCleanClicked(); @Override void deleteConsoleByRunner(@NotNull Runner runner); @Override void setVisibleNoRunnerLabel(boolean visible);  }
@Test public void cleanSelectedConsoleShouldBeNotPerformed() throws Exception { presenter.onCleanClicked(); verify(console, never()).clear(); }