public void StripeGatewayUpdatesCustomer() { var paymentGateway = new Stripe(); var customer = paymentGateway.Customer(1, "alain rex rivas", "*****@*****.**"); Assert.AreEqual("alain rex rivas", (string)customer.description); }
public void StripeGatewayCreatesCustomer() { var paymentGateway = new Stripe(); int Id = 1; var customer = paymentGateway.Customer(Id, "alain rivas", "*****@*****.**"); Assert.IsNotNull(customer); Assert.IsNull(customer["error"]); }