@Test
public void testSetWriteData01() throws Exception {

    // 前処理(試験対象)
    String fileName = "fileName";
    Class<AbstractFileLineWriter_Stub01> clazz = AbstractFileLineWriter_Stub01.class;
    Map<String, ColumnFormatter> columnFormatterMap = new HashMap<String, ColumnFormatter>();
    columnFormatterMap.put("int", new IntColumnFormatter());
    columnFormatterMap.put("java.lang.String", new NullColumnFormatter());
    AbstractFileLineWriter<AbstractFileLineWriter_Stub01> fileLineWriter = new AbstractFileLineWriterImpl01<AbstractFileLineWriter_Stub01>(fileName, clazz, columnFormatterMap);
    // 前処理(フィールド)
    ReflectionTestUtils.setField(fileLineWriter, "writeData",
            Boolean.FALSE);
    // テスト実施
    fileLineWriter.setWriteData(true);
    // 判定(状態変化、フィールド)
    boolean resultBoolean = Boolean.class.cast(ReflectionTestUtils.getField(
            fileLineWriter, "writeData"));
    assertNotNull(resultBoolean);
    assertTrue(resultBoolean);
}