@Test
void marshal_to_json() throws IOException {

    Distance distance = Distance.ofMillis(3_661_987);
    assertThat(json.write(PortableDistance.fromDistance(distance)).getJson()).isEqualTo("\"1h 1m 2s\"");
}