@Test
  public void toDaysHoursMinutesSeconds_daysAndHoursAndMinutesAndSeconds_returnsDaysAndHoursAndMinutesAndSecondsString()
      throws Exception {
    assertThat(toDaysHoursMinutesSeconds(
        DAYS.toMillis(1) + HOURS.toMillis(1) + MINUTES.toMillis(1) + SECONDS.toMillis(1)))
            .isEqualTo("1 day 1 hour 1 minute 1 second");
    assertThat(toDaysHoursMinutesSeconds(
        DAYS.toMillis(1) + HOURS.toMillis(5) + MINUTES.toMillis(15) + SECONDS.toMillis(45)))
            .isEqualTo("1 day 5 hours 15 minutes 45 seconds");
    assertThat(toDaysHoursMinutesSeconds(
        DAYS.toMillis(2) + HOURS.toMillis(1) + MINUTES.toMillis(30) + SECONDS.toMillis(1)))
            .isEqualTo("2 days 1 hour 30 minutes 1 second");
  }
Unit tests for {@link AbstractLauncher}.

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