### Question:
Logger { public static boolean isDebugEnabled() { return Logger.level == Level.DEBUG; }  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 testIsDebugEnabled() { assertTrue(Logger.isDebugEnabled()); Logger.set(Logger.Level.NONE); assertFalse(Logger.isDebugEnabled()); }