AbstractFileUpdateDAO implements FileUpdateDAO { public void setColumnFormatterMap( Map<String, ColumnFormatter> columnFormatterMap) { this.columnFormatterMap = columnFormatterMap; }  @Override abstract FileLineWriter<T> execute(String fileName,
            Class<T> clazz); Map<String, ColumnFormatter> getColumnFormatterMap(); void setColumnFormatterMap(
            Map<String, ColumnFormatter> columnFormatterMap);  }
@Test public void testSetColumnFormatterMap01() throws Exception { AbstractFileUpdateDAO abstractFileUpdateDAO = new AbstractFileUpdateDAO_Stub01(); Map<String, ColumnFormatter> columnFormatterMap = new HashMap<String, ColumnFormatter>(); abstractFileUpdateDAO.setColumnFormatterMap(columnFormatterMap); Object result = ReflectionTestUtils.getField(abstractFileUpdateDAO, "columnFormatterMap"); assertSame(columnFormatterMap, result); }