I have a java code to establish a connection to the Solr server. I am not sure how I can mock it. Please check my code below.
SolrClient solrClient = new Http