### Question:
Converter { protected final Map<String, Field> getFieldMap(Class clazz) { Map<String, Field> fieldList = new HashMap<String, Field>(); for (FieldEntry entry : getAllFields(clazz)) { Field field = entry.getValue(); fieldList.put(field.getName(), field); } return fieldList; } Converter(Class dataClass); Class getDataClass();  }### Answer:
@Test public void getFieldMap() throws Exception { Converter converter = new TestConverter(SamplePojo.class); Map<String,Field> fields = converter.getFieldMap(InnerSamplePojo.class); assertEquals(11, fields.size()); }