Index1Type1 index1Type1Bis = new Index1Type1("2", "name2", "category", new Date());
index1Type1Bis.location = location;
F.Promise<IndexResponse> promise1 = index1Type1.indexAsync();
F.Promise<IndexResponse> promise2 = index1Type1Bis.indexAsync();
F.Promise<List<IndexResponse>> promise = F.Promise.sequence(promise1, promise2);
List<IndexResponse> indexResponses = promise.get(10L, TimeUnit.SECONDS);
assertThat(indexResponses.size()).isEqualTo(2);
}