public void TestQuery() { var notify = (Notify)_alipayGateway.BuildQuery(new Auxiliary { OutTradeNo = _outTradeNo }); Assert.IsTrue(notify.SubMessage.Contains("交易不存在")); Trace.WriteLine(Util.SerializeObject(notify)); }
public void TestQuery() { Assert.Throws <GatewayException>(() => { _alipayGateway.BuildQuery(new Auxiliary { OutTradeNo = _outTradeNo }); }); }