コード例 #1
0
        public void TransactionOKTest()
        {
            BvgConnectorMock connector = GetConnector(TransactionDataProvider.GetTransactionOkResponse());

            TransactionBVG response = connector.Transaction(TransactionDataProvider.GetTransaction());

            Assert.AreNotEqual(null, response);

            Assert.AreEqual(false, String.IsNullOrEmpty(response.GetPublicRequestKey()));
            Assert.AreEqual(false, String.IsNullOrEmpty(response.GetMerchantID()));
            Assert.AreEqual(false, String.IsNullOrEmpty(response.GetChannel()));
        }