public BillReceivableController(IReceivableManager receivableManager, ILineItemManager itemManager, IBankAccountManager bankAccountManager) { _receivableManager = receivableManager; _itemManager = itemManager; _bankAccountManager = bankAccountManager; }
public BillPayableController(IPayableManager payableManager, ILineItemManager itemManager, IBankAccountManager bankAccountManager) { _payableManager = payableManager; _itemManager = itemManager; _bankAccountManager = bankAccountManager; }
public void Setup() { _accountNumberParser = new AccountNumberParser(); _checkSumValidator = new CheckSumValidator(); _bankAccountManager = new BankAccountManager(_accountNumberParser, _checkSumValidator); _testFilePath = @"..\..\..\testInput.txt"; _testFileContent = File.ReadAllText(@"..\..\..\testInput.txt"); }
public BankAccountController(IBankAccountManager bankAccountManager) { _bankAccountManager = bankAccountManager; }