starter.await(); //NOPMD
} catch (InterruptedException e) {
throw new RuntimeException(e);
}
c.setInvocationForPotentialStubbing(new InvocationMatcher(invocation));
c.addAnswer(new Returns("foo"));
c.findAnswerFor(invocation);
}
};
t[i].setUncaughtExceptionHandler(new Thread.UncaughtExceptionHandler() {
public void uncaughtException(Thread t, Throwable e) {