def METHOD_NAME(patch_base_class, requests_mock, header_name, header_value, expected):
    stream = LinnworksStream()
    requests_mock.get("https://dummy", headers={header_name: header_value}, status_code=429)
    result = stream.backoff_time(requests.get("https://dummy"))
    assert result == expected