### Question:
TrainingDataReader extends AbstractConfigReader { public int getTotalDocs(){ return totalDocs; } TrainingDataReader(String content); String getIdField(); QueryDataDesc[] getQueryDataDescs(); int getTotalDocs();  }### Answer:
@Test public void testGetTotalDocs() throws Exception { TrainingDataReader tdReader = new TrainingDataReader(JSON_DATA); assertEquals(10, tdReader.getTotalDocs()); }