Braintree.Tests.Integration.CustomerIntegrationTest.Search_OnPayPalAccountEmail C# (CSharp) Метод

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

private Search_OnPayPalAccountEmail ( ) : void
Результат void
        public void Search_OnPayPalAccountEmail()
        {
            var request = new CustomerRequest
            {
                PaymentMethodNonce = Nonce.PayPalFuturePayment
            };

            var customer = gateway.Customer.Create(request).Target;

            var search = new CustomerSearchRequest().
                Id.Is(customer.Id).
                PayPalAccountEmail.Is(customer.PayPalAccounts[0].Email);

            Assert.AreEqual(1, gateway.Customer.Search(search).MaximumCount);
        }
    }
CustomerIntegrationTest