@Test
void time_must_be_positive_or_zero() {

    assertThatIllegalArgumentException().isThrownBy(() -> Distance.ofMillis(-1)).withMessageContaining("(-1)");
    assertThatCode(() -> Distance.ofMillis(0)).doesNotThrowAnyException();
}