def METHOD_NAME(self):
    payment_method_gateway, http_mock  = self.setup_payment_method_gateway_and_mock_http()
    payment_method_gateway.delete("some_token", {"revoke_all_grants": False})
    self.assertTrue("delete('/merchants/integration_merchant_id/payment_methods/any/some_token?revoke_all_grants=false')" in str(http_mock.mock_calls))