}
ResultList results = conn.req_list(firstWriteRequests);
// evaluate the first write results:
for (int i = 0; i < firstWriteRequests.size(); ++i) {
results.processWriteAt(i);
}
final RequestList requests = new RequestList(readRequests).addAll(writeRequests);
results = conn.req_list(requests);
assertEquals(requests.size(), results.size());