@Test public void testInfo() { mock.info("a"); replay(mock); InternalLogger logger = InternalLoggerFactory.getInstance("mock"); logger.info("a"); verify(mock); }
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);  }