ConsoleImpl extends Composite implements Console { @Override public void clear() { output.clear(); } @Inject  ConsoleImpl(RunnerResources resources,
                       Provider<MessageBuilder> messageBuilderProvider,
                       WidgetFactory widgetFactory,
                       @NotNull @Assisted Runner runner); @Override void print(@NotNull String text); @Override void printInfo(@NotNull String line); @Override void printError(@NotNull String line); @Override void printWarn(@NotNull String line); @Override void scrollBottom(); @Override void clear(); @Override void changeWrapTextParam(); @Override boolean isWrapText();  }
@Test public void consoleShouldBeCleaned() throws Exception { console.clear(); verify(console.output).clear(); }