public CompareResult(string clientMarkOffFile, string bankMarkOffFile, IReconcileResult result) { this.ClientMarkOffFile = clientMarkOffFile; this.BankMarkOffFile = bankMarkOffFile; _matchedClient = result.GetMatchedClientTransactions().Count; _matchedBank = result.GetMatchedBankTransactions().Count; _unMatchedClient = result.GetUnMatchedClientTransactions().Count; _unMatchedBank = result.GetUnMatchedBankTransactions().Count; Result = result; }
public void ThenMatchedBankTransactionsUnmatchedBankTransactions(int matchedCount, int nonMatchedCount) { Assert.AreEqual(matchedCount, _result.GetMatchedBankTransactions().Count); Assert.AreEqual(nonMatchedCount, _result.GetUnMatchedBankTransactions().Count); }