public String get() throws Pausable {
return "foo";
}
}
public void testGenericInterface() throws Exception {
ExInterfaceGenericTask task = new ExInterfaceGenericTask(new ExInterfaceGenericImpl());
Mailbox<ExitMsg> exitmb = new Mailbox<ExitMsg>();
Scheduler s = new Scheduler(1);
task.informOnExit(exitmb);
task.setScheduler(s);
task.start();
ExitMsg m = exitmb.getb();
if (m == null) {
fail("Timed Out");
} else {