Duration duration = seconds(60);
assertThat(duration.inMillis(), is(60000L));
assertThat(duration.inSeconds(), is(60L));
assertThat(duration.inMinutes(), is(1L));
assertThat(duration.inHours(), is(0L));
assertThat(duration.inDays(), is(0L));
}
@Test
public void convertSecondsRoundingResult() {
Duration duration = seconds(95);