Examples of interestRate()


Examples of Banking.SavingsAccount.interestRate()

  @Test
  public void createSavingsAccount() throws BankException {
    SavingsAccount account = bank.createSavingsAccount(accountNumberOne, interestRate);
    assertNotNull(account);
    assertEquals(accountNumberOne, account.accountNumber());
    assertEquals(interestRate, account.interestRate());
   
    Account foundAccount = bank.findAccount(accountNumberOne);
    assertEquals(true, CompareAccounts.compareAccounts(account, foundAccount));
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.