AbstractFileQueryDAO implements FileQueryDAO { protected Map<String, ColumnParser> getColumnParserMap() { return columnParserMap; }  @Override abstract FileLineIterator<T> execute(String fileName,
            Class<T> clazz); void setColumnParserMap(Map<String, ColumnParser> columnParserMap);  }
@Test public void testGetColumnParserMap01() throws Exception { AbstractFileQueryDAO abstractFileQueryDAO = new AbstractFileQueryDAO_Stub01(); Map<String, ColumnParser> columnParserMap = new HashMap<String, ColumnParser>(); ReflectionTestUtils.setField(abstractFileQueryDAO, "columnParserMap", columnParserMap); Map<String, ColumnParser> result = abstractFileQueryDAO .getColumnParserMap(); assertSame(columnParserMap, result); }