def METHOD_NAME(self):
    braintree_gateway = BraintreeGateway(Configuration.instantiate())
    payment_method_gateway = PaymentMethodGateway(braintree_gateway)
    http_mock = MagicMock(name='config.http.delete')
    braintree_gateway.config.http = http_mock
    return payment_method_gateway, http_mock