public void GetTotalIncome() { // Arrange MonthSummary summary = BuildSummary(); // Act decimal total = summary.GetTotalIncome(); // Assert Assert.Equal(1300.50m, total); }
private void BuildOverview() { MonthName = monthYear.GetMonthName(); Year = monthYear.Year; TotalIncome = summary.GetTotalIncome(); Expenses = FormatExpenses(); PendingStatements = FormatPendingStatements(); BankAmount = summary.GetCurrentBalance(); InitialBankAmount = summary.GetInitialBalance(); Categories = GetCategories(); }