InitialContext context = new InitialContext();
Object obj = context.lookup(PaymentProcessingBeanHome.JNDI_NAME);
PaymentProcessingBeanHome home = (PaymentProcessingBeanHome)
PortableRemoteObject.narrow(obj, PaymentProcessingBeanHome.class);
PaymentProcessingBean bean = home.create();
assertTrue("PaymentProcessingBean.makePayment() returned false.",
bean.makePayment("12345", 1000.00));