Exemple #1
0
 public BillReceivableController(IReceivableManager receivableManager, ILineItemManager itemManager,
                                 IBankAccountManager bankAccountManager)
 {
     _receivableManager  = receivableManager;
     _itemManager        = itemManager;
     _bankAccountManager = bankAccountManager;
 }
Exemple #2
0
 public BillPayableController(IPayableManager payableManager, ILineItemManager itemManager,
                              IBankAccountManager bankAccountManager)
 {
     _payableManager     = payableManager;
     _itemManager        = itemManager;
     _bankAccountManager = bankAccountManager;
 }
Exemple #3
0
        public void Setup()
        {
            _accountNumberParser = new AccountNumberParser();
            _checkSumValidator   = new CheckSumValidator();

            _bankAccountManager = new BankAccountManager(_accountNumberParser, _checkSumValidator);

            _testFilePath    = @"..\..\..\testInput.txt";
            _testFileContent = File.ReadAllText(@"..\..\..\testInput.txt");
        }
Exemple #4
0
 public BankAccountController(IBankAccountManager bankAccountManager)
 {
     _bankAccountManager = bankAccountManager;
 }