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())); }
public void TransactionFailValidationTest() { BvgConnectorMock connector = GetConnector(TransactionDataProvider.GetTransactionOkResponse()); TransactionBVG response = connector.Transaction(TransactionDataProvider.GetTransactionWrongField()); }
public void TransactionFailValidationRequiredTest() { BvgConnectorMock connector = GetConnector(TransactionDataProvider.GetTransactionFailVendedorResponse()); TransactionBVG response = connector.Transaction(TransactionDataProvider.GetTransactionWithoutField()); }
public void TransactionFailVendedorTest() { BvgConnectorMock connector = GetConnector(TransactionDataProvider.GetTransactionFailVendedorResponse()); TransactionBVG response = connector.Transaction(TransactionDataProvider.GetTransaction()); }
public void TransactionWithoutFieldTest() { BvgConnectorMock connector = GetConnector(TransactionDataProvider.GetTransactionFailResponse()); TransactionBVG response = connector.Transaction(TransactionDataProvider.GetTransaction()); }