}
public void testFetchPaginateStatefulRealAsyncUpdateData() {
QueryAsync<DiscoveryModel> qd = DiscoveryModel.all().stateful().async();
SienaFuture<List<DiscoveryModel>> future = qd.paginate(200).fetch();
DiscoveryModel disc = new DiscoveryModel("Disc_201", PERSON_LONGAUTOID_CURIE);
SienaFuture<Void> futureDisc = disc.async().insert();
List<DiscoveryModel> res = future.get();
assertEquals(200, res.size());
for(int i=0; i<200; i++){
assertEquals(discs[i], res.get(i));