def METHOD_NAME(self, http_do):
    config = AttributeGetter({
            "base_url": (lambda: ""),
            "has_access_token": (lambda: False),
            "has_client_credentials": (lambda: False),
            "http_strategy": (lambda: AttributeGetter({"http_do": http_do})),
            "public_key": "",
            "private_key": "",
            "wrap_http_exceptions": False})
    return Http(config, "fake_environment")