### Question:
FeaturesConfigReader extends AbstractConfigReader { public FeatureDesc getFeatureDesc(String name){ return fdMap.get(name); } FeaturesConfigReader(String fileName);  FeaturesConfigReader(SolrResourceLoader loader, String fileName); FeatureDesc[] getFeatureDescs(); FeatureDesc getFeatureDesc(String name); static FieldFeatureExtractorFactory loadFactory(FeaturesConfigReader.FeatureDesc featureDesc);  }### Answer:
@Test public void testGetFeatureDesc() throws Exception { FeaturesConfigReader fcReader = new FeaturesConfigReader(loader,"ltr_features.conf"); assertEquals("name=TF in title,class=org.ltr4l.lucene.solr.server.FieldFeatureTFExtractorFactory,params=title", fcReader.getFeatureDesc("TF in title").toString()); assertEquals("name=TF in body,class=org.ltr4l.lucene.solr.server.FieldFeatureTFExtractorFactory,params=body", fcReader.getFeatureDesc("TF in body").toString()); assertEquals("name=IDF in title,class=org.ltr4l.lucene.solr.server.FieldFeatureIDFExtractorFactory,params=title", fcReader.getFeatureDesc("IDF in title").toString()); assertEquals("name=IDF in body,class=org.ltr4l.lucene.solr.server.FieldFeatureIDFExtractorFactory,params=body", fcReader.getFeatureDesc("IDF in body").toString()); }