Pagination pagination = new Pagination(start, count);
SearchQuery searchQuery = new SearchQuery(queries, queryConstraints, pagination);
ResultList resultList = client.search(new SearchRequest(modelId, searchQuery));
Assert.assertNotNull(resultList);
Assert.assertNotNull(resultList.getMetadata());
Assert.assertNotNull(resultList.getResults());
}