Hello,
Can you please let me know if you have a sample code to mock RestHighLevelClient to run a junit test in java to initiate connection to elasticsearch server and check if the indexing is working as expected ? I am unable to crack it so kindly help me.
Thanks in advance.