### Question:
TimeUtil { public static String millisToString(long millis) { long hours = TimeUnit.MILLISECONDS.toHours(millis); long minutes = TimeUnit.MILLISECONDS.toMinutes(millis) - (hours * 60); long seconds = TimeUnit.MILLISECONDS.toSeconds(millis) - ((hours * 60 * 60) + (minutes * 60)); millis = millis - ((hours * 60 * 60 * 1000) + (minutes * 60 * 1000) + (seconds * 1000)); return String.format("%d hr(s) %d min(s) %d sec(s) %d ms", hours, minutes, seconds, millis); }  static long minutesToMillis(long minutes); static SimpleDateFormat standardDateFormater(); static Date fromString(String value); static String dateToString(Date value); static Date currentDate(); static long daysToMillis(long days); static Date beginningOfDay(Date date); static Date endOfDay(Date date); static String millisToString(long millis);  }### Answer:
@Test public void testMillisToString() { System.out.println("millisToString"); long millis = 1L; String expResult = "0 hr(s) 0 min(s) 0 sec(s) 1 ms"; String result = TimeUtil.millisToString(millis); assertEquals(expResult, result); }