### Question:
SolrQueryServiceController { public String getSolrSpecVersion() { if(isEmbeddedSolrServer) { return embeddedQueryService.getSolrServerVersion(); } else { return httpQueryService.getSolrServerVersion(); } } 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 testGetSolrSpecVersion() throws UnsupportedType, NotFound, ParserConfigurationException, IOException, SAXException { String version = SolrQueryServiceController.getInstance().getSolrSpecVersion(); assertTrue(version != null); assertTrue("The version should be 8.4.1 rather than "+version, version.equals("8.4.1")); }