protected void tearDown() throws Exception {
scaDomain.close();
}
public void testCalculator() throws Exception {
Customer customer = scaDomain.getService(Customer.class, "CustomerComponent");
// This is one of the customer numbers in bank application running on Geronimo
String accountNo = "1234567890";
Double balance = customer.depositAmount(accountNo, new Double(100));
// System.out.println("Balance amount for account " + accountNo + " is $" + balance);
assertEquals(1200.0, balance);
}