AccountManager accountMgr = (AccountManager) ctx.lookup(AccountManagerBean.JNDI_NAME);
long dummyAccountNumber = 123;
// credit 50 dollars (Note that the current balance is hard coded in the bean to 100)
// so after crediting, the current balance is going to be 150
int currentBalance = accountMgr.credit(dummyAccountNumber, 50);
assertEquals("Unexpected account balance after credit", 150, currentBalance);
// now let's debit 10 dollars (Note that the current balance is again hard coded in the bean to 100).
// So after debiting, the current balance is going to be 90