public void RefNumber_single()
        {
            _ccQuery.RefNumber("1").List();

            var expected = new XElement("CreditCardChargeQueryRq",
                                        new XElement("RefNumber", "1"));
            var actual = _session.GetArgumentsForCallsMadeOn(x => x.ProcessRequest(null))[0][0] as XElement;

            AssertXmlAreEqual(expected, actual);
        }
        public void TxnID_single()
        {
            _depositQuery.TxnID("1").List();

            var expected = new XElement("DepositQueryRq",
                                        new XElement("TxnID", "1"));
            var actual = _session.GetArgumentsForCallsMadeOn(x => x.ProcessRequest(null))[0][0] as XElement;

            AssertXmlAreEqual(expected, actual);
        }
Пример #3
0
        public void ListID_single()
        {
            _classQuery.ListID("123").Single();

            var expected = new XElement("ClassQueryRq",
                                        new XElement("ListID", "123"));
            var actual = _session.GetArgumentsForCallsMadeOn(x => x.ProcessRequest(null))[0][0] as XElement;

            AssertXmlAreEqual(expected, actual);
        }