MavenLogger implements SortPomLogger { @Override public void info(String content) { pluginLogger.info(content); } MavenLogger(Log pluginLogger); @Override void warn(String content); @Override void info(String content); @Override void error(String content);  }
@Test void infoShouldOutputInfoLevel() { mavenLogger.info("Gurka"); verify(logMock).info("Gurka"); verifyNoMoreInteractions(logMock); }