Utils { public static String printTimeDelay(final long timeInMilliseconds) { final Duration duration = new Duration(timeInMilliseconds); final Period period = duration.toPeriod().normalizedStandard(PeriodType.time()); return TIME_FORMATTER.print(period); } private  Utils(); static boolean checkClassAndMethodForPattern(final String juteTest, final String className, final String methofName, final boolean onlyClass); static String printTimeDelay(final long timeInMilliseconds); static int getMaxLineWidth(final List<String> str); static String makeStr(final int len, final char ch); static List<String> splitToLines(final String str); static int calcNumberOfItems(final Map<TestClassProcessor, List<TestContainer>> map); static List<TestContainer> sortDetectedClassMethodsForNameAndOrder(final List<TestContainer> testMethods); static String toStandardJavaClassName(final String rootPath, final String classFilePath); static final String lineSeparator; }
@Test public void testPrintTimeDelay(){ assertEquals("34:17:36.789",Utils.printTimeDelay(123456789L)); }