def METHOD_NAME():
    client = EventHubProducerClient(
        'fake.host.com',
        'fake_eh',
        None,
        retry_mode='fixed'
    )
    backoff = client._config.backoff_factor
    start_time = time.time()
    client._backoff(retried_times=1, last_exception=Exception('fake'), timeout_time=None)
    sleep_time = time.time() - start_time
    # exp = 0.8 * (2 ** 1) = 1.6
    # time.sleep() in _backoff will take AT LEAST time 'exp' for 'exponential'
    # check that fixed is less than 'exp'
    assert sleep_time < backoff * (2 ** 1)
    client = EventHubProducerClient(
        'fake.host.com',
        'fake_eh',
        None,
        retry_mode=RetryMode.Fixed
    )
    backoff = client._config.backoff_factor
    start_time = time.time()
    client._backoff(retried_times=1, last_exception=Exception('fake'), timeout_time=None)
    sleep_time = time.time() - start_time
    # exp = 0.8 * (2 ** 1) = 1.6
    # time.sleep() in _backoff will take AT LEAST time 'exp' for 'exponential'
    # check that fixed is less than 'exp'
    assert sleep_time < backoff * (2 ** 1)