new SolrTemplate((SolrServerFactory) null);
}
@Test
public void testPing() throws SolrServerException, IOException {
Mockito.when(solrServerMock.ping()).thenReturn(new SolrPingResponse());
SolrPingResponse pingResult = solrTemplate.ping();
Assert.assertNotNull(pingResult);
Mockito.verify(solrServerMock, Mockito.times(1)).ping();
}