using NUnit.Framework; using Alipay.EasySDK.Factory; using Alipay.EasySDK.Payment.Page.Models; using Alipay.EasySDK.Kernel.Util; namespace UnitTest.Payment.Page { public class ClientTest { [SetUp] public void SetUp() { Factory.SetOptions(TestAccount.Mini.CONFIG); } [Test] public void TestPay() { AlipayTradePagePayResponse response = Factory.Payment.Page().Pay("iPhone6 16G", "e5b5bd79-8310-447d-b63b-0fe3a393324d", "0.10", "https://www.taobao.com"); Assert.IsTrue(ResponseChecker.Success(response)); Assert.IsTrue(response.Body.Contains("