makeThreadSafe(handler, true);
// When caller 1 invokes, block before giving response
CountDownLatch answerStartLatch = new CountDownLatch(1);
CountDownLatch answerDoneLatch = new CountDownLatch(1);
BlockingAnswer<Boolean> caller1Answer = new BlockingAnswer<Boolean>(Boolean.TRUE, answerStartLatch, null, answerDoneLatch);
BlockingAnswer<Boolean> caller2Answer = new BlockingAnswer<Boolean>(new TimeoutException(caller1), answerDoneLatch, 0, null, null);
handler.lockFromCluster("test", caller1, 1000);
expectLastCall().andAnswer(caller1Answer);
handler.lockFromCluster("test", caller2, 1000);