### Question:
SolrQueryServiceController { public InputStream query(SolrParams params,Set<Subject> subjects, SolrRequest.METHOD method) throws NotImplemented, NotFound, IOException, UnsupportedType, ParserConfigurationException, SAXException, SolrServerException { if(isEmbeddedSolrServer) { return embeddedQueryService.query(params, subjects, method); } else { return httpQueryService.query(params, subjects, method); } } private  SolrQueryServiceController(); static SolrQueryServiceController getInstance(); InputStream query(SolrParams params,Set<Subject> subjects, SolrRequest.METHOD method); String getSolrSpecVersion(); Map<String, SchemaField> getIndexSchemaFields(); IndexSchema getSchema(); boolean isEmbeddedSolrServer();  }### Answer:
@Test public void testQuery() throws Exception { String query = "q=*:*"; SolrParams solrParams = SolrRequestParsers.parseQueryString(query); InputStream input = SolrQueryServiceController.getInstance().query(solrParams, null, SolrRequest.METHOD.GET); assertTrue(input != null); }