MavenEchoOutput implements EchoOutput { @Override public void info(String content) { wrappedLog.info(content); } MavenEchoOutput(Log wrappedLog); @Override void fail(String content); @Override void error(String content); @Override void warning(String content); @Override void info(String content); @Override void debug(String content);  }
@Test public void infoShouldOutputInfoLevel() { mavenEchoOutput.info("Gurka"); verify(logMock).info("Gurka"); verifyNoMoreInteractions(logMock); }