Exemplo n.º 1
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.º 2
0
 public BankAccountManager(IAccountNumberParser accountNumberParser, ICheckSumValidator checkSumValidator)
 {
     _accountNumberParser = accountNumberParser;
     _checkSumValidator   = checkSumValidator;
 }
 public void Setup()
 {
     _accountNumberParser = new AccountNumberParser();
 }