BudgetAnalyser.Engine.UnitTest.Ledger.SavedUpForLedgerReconciliationBehaviourTest.ShouldNotSupplementPositiveBalance_GivenClosingBalanceGreaterThanBudgetAmount C# (CSharp) Method

ShouldNotSupplementPositiveBalance_GivenClosingBalanceGreaterThanBudgetAmount() private method

        public void ShouldNotSupplementPositiveBalance_GivenClosingBalanceGreaterThanBudgetAmount()
        {
            Console.WriteLine($"Opening Balance: {this.subject.Balance:F2}");
            var testInput = new List<LedgerTransaction>
            {
                new BudgetCreditLedgerTransaction { Amount = 150, Date = new DateTime(2013, 9, 11), Narrative = "Budget Amount" },
                new CreditLedgerTransaction { Amount = -20, Date = new DateTime(2013, 9, 11) }
            };
            this.subject.SetTransactionsForReconciliation(testInput, this.reconciliationDate);
            this.subject.Output();

            Assert.AreEqual(230M, this.subject.Balance);
        }