public void Success_ReturnsCorrectResult(TransactionStatus transactionStatus, bool statusSuccess, bool expected) { Status status = Factory.CreateStatus(statusSuccess); CompleteResult completeResult = new CompleteResult { Status = status, TransactionStatus = transactionStatus }; Assert.AreEqual(expected, completeResult.Success); }
public void GetTransactionDetails_ReturnsCorrectResult(TransactionStatus transactionStatus, bool expected) { CompleteResult completeResult = new CompleteResult { TransactionStatus = transactionStatus }; Assert.AreEqual(expected, completeResult.GetTransactionDetails); }