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

            _bankAccountManager = new BankAccountManager(_accountNumberParser, _checkSumValidator);

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