@Override
    public boolean isWarnEnabled() {
        return logger.isWarnEnabled();
    }
@Test
    public void testIsWarnEnabled() {
        Logger mockLogger = mock(Logger.class);

        when(mockLogger.getName()).thenReturn("foo");
        when(mockLogger.isWarnEnabled()).thenReturn(true);

        InternalLogger logger = new Slf4JLogger(mockLogger);
        assertTrue(logger.isWarnEnabled());

        verify(mockLogger).getName();
        verify(mockLogger).isWarnEnabled();
    }