assertEquals(Status.Ready, taskSummary.getStatus());
System.out.println("Claiming task " + taskSummary.getId());
BlockingTaskOperationResponseHandler operationResponseHandler = new BlockingTaskOperationResponseHandler();
getClient().claim(taskSummary.getId(), "Darth Vader", operationResponseHandler);
PermissionDeniedException denied = null;
try {
operationResponseHandler.waitTillDone(DEFAULT_WAIT_TIME);
} catch (PermissionDeniedException e) {
denied = e;
}