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

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

private Find_FindsApplePayCard ( ) : void
Результат void
        public void Find_FindsApplePayCard()
        {
            var request = new PaymentMethodRequest
            {
                CustomerId = gateway.Customer.Create(new CustomerRequest()).Target.Id,
                PaymentMethodNonce = Nonce.ApplePayAmex
            };
            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);
            Assert.IsInstanceOf(typeof(ApplePayCard), found);
        }
PaymentMethodIntegrationTest