Esempio n. 1
0
 public void TestInitialize()
 {
     interBank   = new InterBank();
     acc         = new Account(2, "", 300);
     bank        = new Bank(1500, interBank);
     debtacc     = new DebtAccount(acc);
     accWithDebt = new Account(2, "", 0);
     withDebt    = new DebtAccount(accWithDebt);
     withDebt.SetDebtBalance(50);
 }
Esempio n. 2
0
        public void Initialize()
        {
            Account account = new Account("12345", "1000", 100);

            this.account = new DebtAccount(account, 100);
        }