// Test: uncaught exception
tobj.setValue("trace", "");
tobj.setValue("throwOuterEx", Boolean.FALSE);
tobj.setValue("throwUncaughtEx", Boolean.TRUE);
instance = (Instance)serviceClass.invoke("invoke", new Object[]{"Semaphore", tobj, null});
assertEquals(Boolean.FALSE, instance.invoke("done"));
assertEquals("BEFORE;", tobj.getValue("trace"));
assignmentList = (InstanceList)instance.getValue("assignments");
assertEquals(1, assignmentList.size());
assignment = assignmentList.getInstance(0);
assertEquals(Boolean.TRUE, assignment.getValue("semaphore"));