assertEquals(chunks, queueInfo.getCountTasks());
// 3. Manually processes the tasks
List<TaskStateInfo> states = queueInfo.getTaskInfo();
for (int i = 0; i < states.size(); i++) {
TaskStateInfo taskInfo = states.get(i);
Response response = executeTask(taskInfo);
assertStatus(200, response);
Map<String, List<String>> params = new QueryStringDecoder("http://dummy/a?" + taskInfo.getBody())
.getParameters();
Key first = KeyFactory.stringToKey(params.get(ChunkedRuleProcessor.pSTART_ID)
.get(0));
Key last = KeyFactory.stringToKey(params.get(ChunkedRuleProcessor.pLAST_ID)
.get(0));