### Question:
Loggers { public static Logger warningLogger() { return WARNING_ANDROID_LOGGER; } private  Loggers(); static Logger empty(); static Logger verboseLogger(); static Logger infoLogger(); static Logger warningLogger();  }### Answer:
@Test public void loggersReturnsWarningLoggerInstance() { Logger logger = Loggers.warningLogger(); assertThat(logger, instanceOf(WarningAndroidLogger.class)); }
@Test public void warningLoggerReturnsSameInstance() { Logger logger1 = Loggers.warningLogger(); Logger logger2 = Loggers.warningLogger(); assertThat(logger1, sameInstance(logger2)); }