@Test
@FixFor("DBZ-1164")
public void asDurationShouldConvertValue() {

    assertThat(Strings.asDuration(null)).isNull();
    assertThat(Strings.asDuration("24:00:00")).isEqualTo(Duration.parse("PT24H"));
    assertThat(Strings.asDuration("18:02:54.123")).isEqualTo(Duration.parse("PT18H2M54.123S"));
    assertThat(Strings.asDuration("18:02:54.123456789")).isEqualTo(Duration.parse("PT18H2M54.123456789S"));
    assertThat(Strings.asDuration("24:00:01")).isEqualTo(Duration.parse("PT24H1S"));
}