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