StaticLogger { public static void info(Object tag, String message) { if (logger != null) logger.info(tag, message); } private  StaticLogger(); static void debug(Object tag, String message); static void error(Object tag, String message); static void error(Object tag, String message, Throwable th); static void info(Object tag, String message); static void init(Logger logger);  }
@Test public void info() throws Exception { StaticLogger.info(TAG, MESSAGE); verify(logger).info(eq(TAG), eq(MESSAGE)); }