@Override
  public void close() {
    finished();
    if (logAtInfo) {
      log.info("{}", this);
    } else {
      if (log.isDebugEnabled()) {
        log.debug("{}", this);
      }
    }
  }
@Test
  public void testDurationInfoWithMultipleClose() throws Exception {
    DurationInfo info = new DurationInfo(log, "test");
    Thread.sleep(1000);
    info.close();
    info.close();
    Assert.assertTrue(info.value() > 0);
  }