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