@Test
public void testDelayCollect002() {

    Queueing1NRelationResultHandlerImpl<HogeBean> drh = new Queueing1NRelationResultHandlerImpl<>();
    HogeBean bean = new HogeBean();
    bean.setHoge("hoge1");
    drh.prevRow = bean;
    drh.dataCount = new AtomicLong(0);
    DaoCollectorStub004 daoCollector = new DaoCollectorStub004(1);
    daoCollector.setFinish(false);
    drh.setDaoCollector(daoCollector);
    // 1件のキュー追加が行われること。
    drh.delayCollect();
    assertEquals(1L, drh.dataCount.get());
    DataValueObject obj1 = daoCollector.getQueue().poll();
    assertTrue(obj1.getValue() instanceof HogeBean);
    assertEquals("hoge1", ((HogeBean) obj1.getValue()).getHoge());
    assertEquals(1L, obj1.getDataCount());
}