public void testFlush() throws Exception
{
EntityTest test = (EntityTest) this.getInitialContext().lookup("EntityTestBean/remote");
Customer c = test.createCustomer("Emmanuel");
test.changeCustomer(c.getId(), "Bill");
Customer c2 = test.loadCustomer(c.getId());
assertEquals("Bill", c2.getName());
}
public static Test suite() throws Exception