@Test
public void testFormat05() throws Exception {

    // テスト対象のインスタンス化
    ColumnFormatter columnFormatter = new DateColumnFormatter();
    // 引数の設定
    DateColumnFormatter_Stub01 stub = new DateColumnFormatter_Stub01();
    ReflectionTestUtils.setField(stub, "date", new Date(0));
    Method method = stub.getClass().getMethod("getDate");
    String columnFormat = "yyyy/MM/dd";
    // 前提条件の設定
    Map<String, DateFormatLocal> map = Mockito.spy(
            new ConcurrentHashMap<String, DateFormatLocal>());
    map.put(columnFormat, new DateFormatLocal(columnFormat));
    ReflectionTestUtils.setField(columnFormatter, "map", map);
    DateFormatLocal dfl = new DateFormatLocal("yyyy/MM/dd");
    PowerMockito.whenNew(DateFormatLocal.class).withArguments("yyyy/MM/dd")
            .thenReturn(dfl);
    // テスト実施
    String testResult = columnFormatter.format(stub, method, columnFormat);
    // 返却値の確認
    assertEquals("1970/01/01", testResult);
    // 状態変化の確認
    Mockito.verify(map).get(columnFormat);
    Mockito.verify(map).put(Mockito.anyString(), Mockito.any(
            DateFormatLocal.class));
    PowerMockito.verifyNew(DateFormatLocal.class, Mockito.never())
            .withArguments("yyyy/MM/dd");
}