@Test public void testIsInfoEnabled() { when(mockLogger.isInfoEnabled()).thenReturn(true); InternalLogger logger = InternalLoggerFactory.getInstance("mock"); assertTrue(logger.isInfoEnabled()); verify(mockLogger).isInfoEnabled(); }
public static InternalLogger getInstance(Class<?> clazz) { return getInstance(clazz.getName()); }
InternalLoggerFactory { public static InternalLogger getInstance(Class<?> clazz) { return getInstance(clazz.getName()); } }
InternalLoggerFactory { public static InternalLogger getInstance(Class<?> clazz) { return getInstance(clazz.getName()); }  }
InternalLoggerFactory { public static InternalLogger getInstance(Class<?> clazz) { return getInstance(clazz.getName()); }  static InternalLoggerFactory getDefaultFactory(); static void setDefaultFactory(InternalLoggerFactory defaultFactory); static InternalLogger getInstance(Class<?> clazz); static InternalLogger getInstance(String name); }
InternalLoggerFactory { public static InternalLogger getInstance(Class<?> clazz) { return getInstance(clazz.getName()); }  static InternalLoggerFactory getDefaultFactory(); static void setDefaultFactory(InternalLoggerFactory defaultFactory); static InternalLogger getInstance(Class<?> clazz); static InternalLogger getInstance(String name);  }