Unit testing code that uses the HighLevelRestClient

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.

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