### Question:
OntologyModelService { private OntologyModelService() { } private  OntologyModelService(); static OntologyModelService getInstance(); List<ISolrDataField> getFieldList(); void setFieldList(List<ISolrDataField> flds); void setOntologyList(List<String> ontlist); Map<String, String> getAltEntryList(); void setAltEntryList(Map<String, String> entryList); void loadAltEntries(); static final String FIELD_ANNOTATION; }### Answer:
@Test public void testOntologyModelService() throws Exception { OntologyModelService service = OntologyModelService.getInstance(); System.out.println("FOOBAR: " + service.getClass().getName()); List<ISolrDataField> fieldList = service.getFieldList(); assertEquals(1, fieldList.size()); Map<String, String> altEntries = service.getAltEntryList(); assertEquals(16, altEntries.size()); }