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

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

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

        verify(mockLog).isErrorEnabled();
    }