assertHttpSolrServerProperties(httpSolrServer, clone);
}
@Test
public void testClonesHttpSolrServerForCoreCorrectly() {
HttpSolrServer httpSolrServer = new HttpSolrServer(BASE_URL);
httpSolrServer.setDefaultMaxConnectionsPerHost(10);
httpSolrServer.setFollowRedirects(true);
httpSolrServer.setMaxRetries(3);
httpSolrServer.setUseMultiPartPost(true);
HttpSolrServer clone = SolrServerUtils.clone(httpSolrServer, CORE_NAME);
Assert.assertEquals(CORE_URL, clone.getBaseURL());
assertHttpSolrServerProperties(httpSolrServer, clone);
}