@Test public void warnTest() { logger.warn("Test"); verify(mockedLogger, times(1)) .warn("Test"); }
public void warn(final CharSequence logString) { CluecumberLogLevel[] logLevels = new CluecumberLogLevel[]{CluecumberLogLevel.DEFAULT, CluecumberLogLevel.COMPACT, CluecumberLogLevel.MINIMAL}; log(LogLevel.WARN, logString, logLevels); }
CluecumberLogger { public void warn(final CharSequence logString) { CluecumberLogLevel[] logLevels = new CluecumberLogLevel[]{CluecumberLogLevel.DEFAULT, CluecumberLogLevel.COMPACT, CluecumberLogLevel.MINIMAL}; log(LogLevel.WARN, logString, logLevels); } }
CluecumberLogger { public void warn(final CharSequence logString) { CluecumberLogLevel[] logLevels = new CluecumberLogLevel[]{CluecumberLogLevel.DEFAULT, CluecumberLogLevel.COMPACT, CluecumberLogLevel.MINIMAL}; log(LogLevel.WARN, logString, logLevels); }  }
CluecumberLogger { public void warn(final CharSequence logString) { CluecumberLogLevel[] logLevels = new CluecumberLogLevel[]{CluecumberLogLevel.DEFAULT, CluecumberLogLevel.COMPACT, CluecumberLogLevel.MINIMAL}; log(LogLevel.WARN, logString, logLevels); }  void initialize(final Log mojoLogger, final String currentLogLevel); void logInfoSeparator(final CluecumberLogLevel... cluecumberLogLevels); void info(final CharSequence logString, CluecumberLogLevel... cluecumberLogLevels); void warn(final CharSequence logString); }
CluecumberLogger { public void warn(final CharSequence logString) { CluecumberLogLevel[] logLevels = new CluecumberLogLevel[]{CluecumberLogLevel.DEFAULT, CluecumberLogLevel.COMPACT, CluecumberLogLevel.MINIMAL}; log(LogLevel.WARN, logString, logLevels); }  void initialize(final Log mojoLogger, final String currentLogLevel); void logInfoSeparator(final CluecumberLogLevel... cluecumberLogLevels); void info(final CharSequence logString, CluecumberLogLevel... cluecumberLogLevels); void warn(final CharSequence logString);  }