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

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

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

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