@Test
public void testIsWarnEnabled() {

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