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