@Test
public void debugExceptionLevelShouldNotLogToDebugIfDisabled() {

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