@Test
  public void toDaysHoursMinutesSeconds_hoursAndMinutesAndSeconds_returnsHoursAndMinutesAndSecondsString()
      throws Exception {
    assertThat(
        toDaysHoursMinutesSeconds(HOURS.toMillis(1) + MINUTES.toMillis(1) + SECONDS.toMillis(1)))
            .isEqualTo("1 hour 1 minute 1 second");
    assertThat(
        toDaysHoursMinutesSeconds(HOURS.toMillis(1) + MINUTES.toMillis(1) + SECONDS.toMillis(45)))
            .isEqualTo("1 hour 1 minute 45 seconds");
    assertThat(
        toDaysHoursMinutesSeconds(HOURS.toMillis(1) + MINUTES.toMillis(5) + SECONDS.toMillis(1)))
            .isEqualTo("1 hour 5 minutes 1 second");
    assertThat(
        toDaysHoursMinutesSeconds(HOURS.toMillis(1) + MINUTES.toMillis(5) + SECONDS.toMillis(10)))
            .isEqualTo("1 hour 5 minutes 10 seconds");
    assertThat(
        toDaysHoursMinutesSeconds(HOURS.toMillis(1) + MINUTES.toMillis(59) + SECONDS.toMillis(11)))
            .isEqualTo("1 hour 59 minutes 11 seconds");
  }
Unit tests for {@link AbstractLauncher}.

@since GemFire 7.0
geode-core/src/test/java/org/apache/geode/distributed/AbstractLauncherTest.java