@Test
public void shouldNotLogNameIfDebugIsFalse() {

    when(logger.isDebugEnabled()).thenReturn(false);
    debugLogger.debug(logger, () -> "Test Message");
    verify(logger).isDebugEnabled();
    verifyNoMoreInteractions(logger);
}