@Override
    public boolean isDebugEnabled() {
        return logger.isDebugEnabled();
    }
@Test
    public void testIsDebugEnabled() {
        Log mockLog = mock(Log.class);

        when(mockLog.isDebugEnabled()).thenReturn(true);

        InternalLogger logger = new CommonsLogger(mockLog, "foo");
        assertTrue(logger.isDebugEnabled());

        verify(mockLog).isDebugEnabled();
    }