@Test
public void testFormat08() throws Exception {

    // 前処理
    DecimalColumnFormatter decimalColumnFormatter = new DecimalColumnFormatter();
    // 前処理(引数)
    DecimalColumnFormatter_FileLineObjectStub01 stub = new DecimalColumnFormatter_FileLineObjectStub01();
    stub.setDecimal08(new BigDecimal(1000000));
    Method method = stub.getClass().getMethod("getDecimal08");
    String columnFormat = "\\##,###,###.00";
    ConcurrentHashMap<String, DecimalFormatLocal> dfMap = new ConcurrentHashMap<String, DecimalFormatLocal>();
    ReflectionTestUtils.setField(decimalColumnFormatter, "dfMap", dfMap);
    dfMap.clear();
    DecimalFormatLocal dfl = Mockito.spy(
            new DecimalFormatLocal(columnFormat));
    PowerMockito.whenNew(DecimalFormatLocal.class).withArguments(
            columnFormat).thenReturn(dfl);
    // テスト実施
    String result = decimalColumnFormatter.format(stub, method,
            columnFormat);
    // 判定
    assertNotNull(result);
    assertEquals("\\1,000,000.00", result);
    assertSame(dfMap, ReflectionTestUtils.getField(decimalColumnFormatter,
            "dfMap"));
    assertEquals(1, dfMap.size());
    assertTrue(dfMap.containsKey(columnFormat));
    DecimalFormatLocal dfMapValue = dfMap.get(columnFormat);
    assertNotNull(dfMapValue);
    assertEquals(columnFormat, ReflectionTestUtils.getField(dfMapValue,
            "pattern"));
    PowerMockito.verifyNew(DecimalFormatLocal.class).withArguments(
            columnFormat);
}