def METHOD_NAME(mock_time, delay, last_request, time_value, expected_wait):
    mock_time.time.return_value = time_value
    dq = requester.DelayedRequester(delay)
    dq._last_request = last_request
    dq._delay_processing()
    if expected_wait >= 0:
        mock_time.sleep.assert_called_with(expected_wait)
    else:
        mock_time.sleep.assert_not_called()