workItem.setParameter("Skippable", "false");
handler.executeWorkItem(workItem, manager);
Thread.sleep(500);
BlockingTaskSummaryResponseHandler responseHandler = new BlockingTaskSummaryResponseHandler();
client.getTasksAssignedAsPotentialOwner("Darth Vader", "en-UK", responseHandler);
List<TaskSummary> tasks = responseHandler.getResults();
assertEquals(1, tasks.size());
handler.abortWorkItem(workItem, manager);
Thread.sleep(500);
responseHandler = new BlockingTaskSummaryResponseHandler();
client.getTasksAssignedAsPotentialOwner("Darth Vader", "en-UK", responseHandler);
tasks = responseHandler.getResults();
assertEquals(1, tasks.size());
}