BudgetAnalyser.Engine.UnitTest.Ledger.SpentMonthlyLedgerReconciliationBehaviourTest.ShouldNotAddCompensatingTransaction_GivenOpeningBalanceAndClosingBalanceAndBudgetAreAllZero C# (CSharp) Метод

ShouldNotAddCompensatingTransaction_GivenOpeningBalanceAndClosingBalanceAndBudgetAreAllZero() приватный Метод

        public void ShouldNotAddCompensatingTransaction_GivenOpeningBalanceAndClosingBalanceAndBudgetAreAllZero()
        {
            this.subject.Balance = 0;
            Console.WriteLine($"Opening Balance: {this.subject.Balance:F2}");
            var testInput = new List<LedgerTransaction>();
            this.subject.SetTransactionsForReconciliation(testInput, this.reconciliationDate);
            this.subject.Output();

            Assert.AreEqual(0, this.subject.Transactions.Count());
        }
SpentMonthlyLedgerReconciliationBehaviourTest