Mocking HighlevelRestClient in junit

I am using HighlevelRestClient for fetching the data from elasticsearch.while adding junit , mocking it and it is getting mocked but low level rest client is null. Tried with extending ESTestCase as well . But unable to add it.can you suggest on it

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