### Question:
VerboseAndroidLogger extends AbstractAndroidLogger { @Override public void w(String tag, String message, Object... args) { Log.w(tag, formatString(message, args)); }  @Override void v(String tag, String message, Object... args); @Override void v(Throwable t, String tag, String message, Object... args); @Override void d(String tag, String message, Object... args); @Override void d(Throwable t, String tag, String message, Object... args); @Override void i(String tag, String message, Object... args); @Override void i(Throwable t, String tag, String message, Object... args); @Override void w(String tag, String message, Object... args); @Override void w(Throwable t, String tag, String message, Object... args); @Override void e(String tag, String message, Object... args); @Override void e(Throwable t, String tag, String message, Object... args);  }### Answer:
@Test public void warningLoggedCorrectly() { String expectedMessage = "Hello World"; logger.w(tag, "Hello %s", "World"); assertLogged(WARN, tag, expectedMessage, null); }
@Test public void warningWithThrowableLoggedCorrectly() { String expectedMessage = "Hello World"; Throwable t = new Throwable("Test Throwable"); logger.w(t, tag, "Hello %s", "World"); assertLogged(WARN, tag, expectedMessage, t); }