assertEquals("result.size()", 4, result.size());
final List<Integer> values = new ArrayList<Integer>();
for (final Object object : result) {
assertTrue("result item should be an instance of QueryDataRemote", object instanceof QueryDataRemote);
final QueryDataRemote queryData = (QueryDataRemote) object;
values.add(queryData.getIntField());
}
assertCollection(values, 0, 1, 2, 3);
}