### Question:
JulBridgeLogger { public void logrb(Level level, String sourceClass, String sourceMethod, String bundleName, String msg) { log(level, msg); } JulBridgeLogger(Logger logger); static JulBridgeLogger getGlobal(); static JulBridgeLogger getLogger(String name); static JulBridgeLogger getLogger(String name, String resourceBundleName); static JulBridgeLogger getAnonymousLogger(); static JulBridgeLogger getAnonymousLogger(String resourceBundleName); String getName(); void severe(String msg); void warning(String msg); void info(String msg); void config(String msg); void fine(String msg); void finer(String msg); void finest(String msg); void log(Level level, String msg); void log(Level level, String msg, Throwable thrown); Level getLevel(); void setLevel(Level newLevel); boolean isLoggable(Level level); void log(LogRecord record); void log(Level level, String msg, Object param1); void log(Level level, String msg, Object params[]); void logp(Level level, String sourceClass, String sourceMethod, String msg); void logp(Level level, String sourceClass, String sourceMethod, String msg, Object param1); void logp(Level level, String sourceClass, String sourceMethod, String msg, Object params[]); void logp(Level level, String sourceClass, String sourceMethod, String msg, Throwable thrown); void logrb(Level level, String sourceClass, String sourceMethod, String bundleName, String msg); void logrb(Level level, String sourceClass, String sourceMethod, String bundleName, String msg, Object param1); void logrb(Level level, String sourceClass, String sourceMethod, String bundleName, String msg, Object params[]); void logrb(Level level, String sourceClass, String sourceMethod, ResourceBundle bundle, String msg, Object... params); void logrb(Level level, ResourceBundle bundle, String msg, Object... params); void logrb(Level level, String sourceClass, String sourceMethod, String bundleName, String msg, Throwable thrown); void logrb(Level level, String sourceClass, String sourceMethod, ResourceBundle bundle, String msg, Throwable thrown); void logrb(Level level, ResourceBundle bundle, String msg, Throwable thrown); void entering(String sourceClass, String sourceMethod); void entering(String sourceClass, String sourceMethod, Object param1); void entering(String sourceClass, String sourceMethod, Object params[]); void exiting(String sourceClass, String sourceMethod); void exiting(String sourceClass, String sourceMethod, Object result); void throwing(String sourceClass, String sourceMethod, Throwable thrown); ResourceBundle getResourceBundle(); void setResourceBundle(ResourceBundle bundle); String getResourceBundleName(); Filter getFilter(); void setFilter(Filter newFilter); void addHandler(Handler handler); void removeHandler(Handler handler); Handler[] getHandlers(); boolean getUseParentHandlers(); void setUseParentHandlers(boolean useParentHandlers); JulBridgeLogger getParent(); void setParent(JulBridgeLogger parent); static final String GLOBAL_LOGGER_NAME; static final JulBridgeLogger global; }### Answer:
@Test void testLogrb() { julLogger.logrb(INFO, "", "", "", "test"); julLogger.logrb(INFO, "", "", "", "test", new Object()); julLogger.logrb(INFO, "", "", "", "test", new Object[]{}); julLogger.logrb(INFO, "", "", (ResourceBundle) null, "test"); julLogger.logrb(INFO, null, "test"); julLogger.logrb(INFO, "", "", "", "test", e); julLogger.logrb(INFO, "", "", (ResourceBundle) null, "test", e); julLogger.logrb(INFO, null, "test", e); verify(slf4jLogger, times(5)).info("test"); verify(slf4jLogger, times(3)).info("test", e); }