コード例 #1
0
        public void SetUp()
        {
            _property = PropertyBuilder.AProperty().Build();
            _transactionRepository = new Mock<ITransactionRepository>();

            _balancePerAccountReport = new BalancePerAccount(_transactionRepository.Object);
        }
コード例 #2
0
 public ReportsController()
 {
     var transactionRepository = RepositoryFactory.GetTransactionRepository();
     _balancePerAccount = new BalancePerAccount(transactionRepository);
     _transactionPerCategoryReport = new TransactionPerCategoryReport(transactionRepository);
 }