@Test
public void debugMessageLevelShouldNotLogToDebugIfDisabled() {

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