@Test
public void linuxUptimeStyle() throws Exception {

    // calls a helper method, which actually uses all the other methods in the utility class
    Assert.assertEquals("8 days, 08:09:27", PeriodFormatterUtil.toLinuxUptimeStyleString(UPTIME_LESS_THAN_9_DAYS));
    Assert.assertEquals("2 days, 12:02:50", PeriodFormatterUtil.toLinuxUptimeStyleString(UPTIME_LESS_THAN_3_DAYS));
    Assert.assertEquals("1 day, 22:24:48", PeriodFormatterUtil.toLinuxUptimeStyleString(UPTIME_LESS_THAN_2_DAYS));
    Assert.assertEquals("0 days, 20:00:56", PeriodFormatterUtil.toLinuxUptimeStyleString(UPTIME_LESS_THAN_1_DAY));
    Assert.assertEquals("0 days, 00:00:53", PeriodFormatterUtil.toLinuxUptimeStyleString(UPTIME_53_SECS));
}