### Question:
SolrQueryServiceController { public Map<String, SchemaField> getIndexSchemaFields() throws MalformedURLException, ParserConfigurationException, IOException, SAXException { if(isEmbeddedSolrServer) { return embeddedQueryService.getIndexSchemaFields(); } else { return httpQueryService.getIndexSchemaFields(); } } 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 testgetIndexSchemaFields() throws Exception { Map<String, SchemaField> fields = SolrQueryServiceController.getInstance().getIndexSchemaFields(); assertTrue(fields != null); assertTrue("The number of index schema fields should be 160 rather than "+fields.size(), fields.size() == 160); }