@Test
public void testIsErrorEnabled() {

    when(mockLogger.isErrorEnabled()).thenReturn(true);
    InternalLogger logger = InternalLoggerFactory.getInstance("mock");
    assertTrue(logger.isErrorEnabled());
    verify(mockLogger).isErrorEnabled();
}