public void Exception() { _repo.GetAll().Returns(new List <Budget>()); TotalAmountShouldBe(new DateTime(2018, 1, 1), new DateTime(2018, 1, 1), 0); BudgetCalculator budgetCalculator = new BudgetCalculator(_repo); var amount = budgetCalculator.GetAmount(new DateTime(2018, 2, 1), new DateTime(2018, 1, 1)); }
public void InitBudgetCalculator() { _budgetCalculator = new BudgetCalculator(_repo); }