ElasticsearchQueryRequest implements ElasticsearchRequest { @Override public void clean(Consumer<String> cleanAction) { } ElasticsearchQueryRequest(String indexName, int size,
                                   ElasticsearchExprValueFactory factory); @Override ElasticsearchResponse search(Function<SearchRequest, SearchResponse> searchAction,
                                      Function<SearchScrollRequest, SearchResponse> scrollAction); @Override void clean(Consumer<String> cleanAction); static final TimeValue DEFAULT_QUERY_TIMEOUT; }
@Test void clean() { request.clean(cleanAction); verify(cleanAction, never()).accept(any()); }