CallbackHandler<SleepResponse> sleepCallbackHandler1 = monitor.callbackHandler;
assertTrue("Response is not done!", sr1.isDone());
// try to get the response
try {
SleepResponse sleepResp1 = sleepCallbackHandler1.get();
if (sleepResp1 != null) {
TestLogger.logger.debug(title + " request [" + request1 +
"] #1: sleepResponse [NOT NULL] from callback handler");
String result1 = sleepResp1.getMessage();
assertEquals(request1, result1);
TestLogger.logger.debug(
title + " request [" + request1 + "] #1: result [" + result1 + "] ");
}
else {