Пример #1
0
        public void TestQuery()
        {
            var notify = (Notify)_alipayGateway.BuildQuery(new Auxiliary
            {
                OutTradeNo = _outTradeNo
            });

            Assert.IsTrue(notify.SubMessage.Contains("交易不存在"));
            Trace.WriteLine(Util.SerializeObject(notify));
        }
Пример #2
0
 public void TestQuery()
 {
     Assert.Throws <GatewayException>(() =>
     {
         _alipayGateway.BuildQuery(new Auxiliary
         {
             OutTradeNo = _outTradeNo
         });
     });
 }