Unit testing code that uses the HighLevelRestClient


#1

We use the HighLevelRestClient.index() to index data to Elasticsearch. I am trying to use PowerMockito to mock client.index(IndexRequest). I would welcome any pointers.


(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.