DateUtils { public static String timeNow() { final DateFormat dateFormat = new SimpleDateFormat("HH:MM:ss"); final Date date = new Date(); return dateFormat.format(date); }  static String today(); static String todayCSV(); static String timeNow(); static String dateTimeNow();  }
@Test void shouldGetTimeNow() { assertTrue(DateUtils.timeNow().matches("[0-9]{2}[:][0-9]{2}[:][0-9]{2}")); }