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