public void TestNoCounterAccount() { CheckingAccount unRegisteredCounterAccount = Accounts.MakeAccount <CheckingAccount>("1439"); myAccount.MakeTransfer(Accounts.GetAccountNumber(unRegisteredCounterAccount), new Money()); }
public void Init() { myAccount = Accounts.MakeAccount <CheckingAccount>("123456789"); counterAccount = Accounts.MakeAccount <CheckingAccount>("497164833"); }
public void Init() { myAccount = Accounts.MakeAccount <SavingsAccount>("123456789"); registeredCounterAccount = Accounts.MakeAccount <CheckingAccount>("497164833"); myAccount.RegisteredCounterAccount = registeredCounterAccount; }