using NUnit.Framework; using Alipay.EasySDK.Factory; using Alipay.EasySDK.Payment.Wap.Models; using Alipay.EasySDK.Kernel.Util; using System.Collections.Generic; namespace UnitTest.Payment.Wap { public class ClientTest { [SetUp] public void SetUp() { Factory.SetOptions(TestAccount.Mini.CONFIG); } [Test] public void TestPay() { AlipayTradeWapPayResponse response = Factory.Payment.Wap().Pay("iPhone6 16G", "b7f4bc7d-ea4b-4efd-9072-d8ea913c8946", "0.10", "https://www.taobao.com", "https://www.taobao.com"); Assert.IsTrue(ResponseChecker.Success(response)); Assert.IsTrue(response.Body.Contains("