public void SetUp() { _property = PropertyBuilder.AProperty().Build(); _transactionRepository = new Mock<ITransactionRepository>(); _balancePerAccountReport = new BalancePerAccount(_transactionRepository.Object); }
public ReportsController() { var transactionRepository = RepositoryFactory.GetTransactionRepository(); _balancePerAccount = new BalancePerAccount(transactionRepository); _transactionPerCategoryReport = new TransactionPerCategoryReport(transactionRepository); }