BudgetAnalyser.Engine.UnitTest.Ledger.LedgerBook_ReconcileTest.Reconcile_ShouldAutoMatchTransactionsAndResultIn3InsHomeTransactions_GivenTestData5 C# (CSharp) Method

Reconcile_ShouldAutoMatchTransactionsAndResultIn3InsHomeTransactions_GivenTestData5() private method

        public void Reconcile_ShouldAutoMatchTransactionsAndResultIn3InsHomeTransactions_GivenTestData5()
        {
            // Two transactions should be removed as they are automatched to the previous month.
            ActOnTestData5();

            Assert.AreEqual(3, this.subject.Reconciliations.First().Entries.Single(e => e.LedgerBucket.BudgetBucket == StatementModelTestData.InsHomeBucket).Transactions.Count());
            // Assert last month's ledger transaction has been linked to the credit 16/8/13
        }
LedgerBook_ReconcileTest