Braintree.Tests.Integration.PaymentMethodIntegrationTest.Find_FindsPayPalAccount C# (CSharp) Метод

Find_FindsPayPalAccount() приватный Метод

private Find_FindsPayPalAccount ( ) : void
Результат void
        public void Find_FindsPayPalAccount()
        {
            var request = new PaymentMethodRequest
            {
                CustomerId = gateway.Customer.Create(new CustomerRequest()).Target.Id,
                PaymentMethodNonce = Nonce.PayPalFuturePayment
            };
            Result<PaymentMethod> result = gateway.PaymentMethod.Create(request);
            Assert.IsTrue(result.IsSuccess());

            PaymentMethod found = gateway.PaymentMethod.Find(result.Target.Token);
            Assert.AreEqual(result.Target.Token, found.Token);
        }
PaymentMethodIntegrationTest