@Test
public void debugMessageLevelShouldLogToDebugIfEnabled() {

    when(logMock.isDebugEnabled()).thenReturn(true);
    mavenLogger.debug("Ta daa!");
    verify(logMock).isDebugEnabled();
    verify(logMock).debug("Ta daa!");
    verifyNoMoreInteractions(logMock);
}