666768697071727374757677
{ Object[] refs=m_instanceReferences.toArray(); for(int i=0; i<refs.length ;i++) { InstanceReference current = (InstanceReference) refs [i]; if(current.getObject( )== obj) { return current; } }
666768697071727374
assertEquals("Hi " + name, actual); } private void exercise(ValueHolderHome home) throws RemoteException, CreateException { ValueHolder bean = home.create("test"); String actual = bean.getValue(); assertEquals("test", actual); }
464748495051525354
@Test public void test1() throws Exception { ValueHolderHome home = lookup("ValueHolderBean/localHome", ValueHolderHome.class); ValueHolder bean = home.create("value"); String actual = bean.getValue(); assertEquals("value", actual); }