55565758596061
@BeforeMethod public void setUp() { descriptor = new AnnotationDescriptor<URL>( URL.class ); urlValidator = new URLValidator(); regexpURLValidator = new RegexpURLValidator(); }
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); }