public AccountServiceTest()
 {
     mockAccountRepository = Substitute.For <IAccountRepository>();
     mockTransRepository   = Substitute.For <ITransactionRepository>();
     _unitOfwork           = Substitute.For <IUnitOfWork>();
     mockCommisionFactory  = Substitute.For <ICommissionFactory>();
     accountService        = new AccountService(mockAccountRepository, mockTransRepository, mockCommisionFactory, _unitOfwork);
 }
 public AccountService(IAccountRepository repository, ITransactionRepository transRepository,
                       ICommissionFactory commissionFactory, IUnitOfWork unitOfwork)
 {
     _accountRepository = repository;
     _transRepository   = transRepository;
     _commissionFactory = commissionFactory;
     _unitOfwork        = unitOfwork;
 }