public void testTwoAccount() { Customer Mike = new Customer("Mike") .openAccount(new Account(Account.SAVINGS)); Mike.openAccount(new Account(Account.CHECKING)); Assert.AreEqual(2, Mike.getNumberOfAccounts()); }
public void testThreeAcounts() { Customer Mike = new Customer("Mike") .openAccount(new Account(Account.SAVINGS)); Mike.openAccount(new Account(Account.CHECKING)); Assert.AreEqual(3, Mike.getNumberOfAccounts()); }
public void testOneAccount() { Customer Mike = new Customer("Mike").openAccount(new Account(Account.SAVINGS)); Assert.AreEqual(1, Mike.getNumberOfAccounts()); }
public void testOneAccount() { Customer Mike = new Customer("Mike").openAccount(new Account(Account.SAVINGS)); Assert.AreEqual(1, Mike.getNumberOfAccounts()); }