Package org.apache.solr.client.solrj.response

Examples of org.apache.solr.client.solrj.response.SolrPingResponse


    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();
  }
View Full Code Here

TOP

Related Classes of org.apache.solr.client.solrj.response.SolrPingResponse

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.