### Question:
ESRichClientImp implements ESClient { @Override public ESResponse searchScroll(SearchScrollRequest searchScrollRequest) throws IOException, JSONException { SearchResponse response = rhlclient.searchScroll(searchScrollRequest); LOGGER.debug("response={}", CommonUtil.removeEscapingCharacters(response.toString())); Map<String, Object> map = QueryUtil.toMap(QueryUtil.extractAggregationValue(response)); return new ESResponse(response, map); } ESRichClientImp(Properties properties);  ESRichClientImp(RestHighLevelClient rhlclient); @Override ESResponse search(SearchRequest searchRequest); @Override ESResponse update(UpdateRequest updateRequest, String refreshPolicy); @Override ESResponse searchScroll(SearchScrollRequest searchScrollRequest); @Override IndexResponse index(IndexRequest indexRequest, String refreshPolicy); @Override boolean delete(DeleteRequest deleteRequest);  }### Answer:
@Test public void searchScroll() throws IOException { ESRichClientImp esRCI = new ESRichClientImp(DEF_RHLCLIENT); SearchScrollRequest ssReq = new SearchScrollRequest(); assertNotNull(ssReq); System.out.println(ssReq); try { ESResponse res = esRCI.searchScroll(ssReq); assertNull(res); } catch (Exception e) { assertNotNull(e); } }