@Override
    public void debug(String msg) {
        logger.debug(msg);
    }
@Test
    public void testDebugWithException() {
        Logger mockLogger = mock(Logger.class);

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

        InternalLogger logger = new Slf4JLogger(mockLogger);
        logger.debug("a", e);

        verify(mockLogger).getName();
        verify(mockLogger).debug("a", e);
    }