public void SetUp() { _budgetFactory = A.Fake<IBudgetFactory>(); _repository = A.Fake<IRepository<Budget>>(); _sut = new BudgetService(_budgetFactory, _repository); }
public void SetUp() { _budgetFactory = A.Fake<IBudgetFactory>(); _budgetRepository = A.Fake<IRepository<Budget>>(); _templateRepository = A.Fake<IRepository<BudgetTemplate>>(); _accountRepository = A.Fake<IRepository<Account>>(); _sut = new BudgetService(_budgetFactory, _budgetRepository, _templateRepository, _accountRepository); }