### Question:
Logger { public static void warn(String tag, String message, Object... values) { log(Level.WARN, tag, null, message, values); }  static void set(Level level); static boolean isDebugEnabled(); static void error(String tag, Throwable t, String message, Object... values); static void error(String tag, String message, Object... values); static void warn(String tag, String message, Object... values); static void warn(String tag, Throwable t, String message, Object... values); static void debug(String tag, String message, Object... values);  }### Answer:
@Test public void testWarnThrowable() { Logger.warn("Test", new IllegalArgumentException("test"), "warning"); LogItem logItem = ShadowLog.getLogsForTag(Logger.FORGE_ROCK).get(0); assertEquals(Log.WARN, logItem.type); assertTrue(logItem.throwable instanceof IllegalArgumentException); }