@Test public void testIsErrorEnabled() { expect(mock.isErrorEnabled()).andReturn(true); replay(mock); InternalLogger logger = InternalLoggerFactory.getInstance("mock"); assertTrue(logger.isErrorEnabled()); 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);  }