### Question:
DateUtils { public static String now (final String pattern) { final SimpleDateFormat dateFormat = new SimpleDateFormat(pattern); return dateFormat.format(calendar.getTime()); } private  DateUtils(); static String now(final String pattern); static String now();  }### Answer:
@Test public void testNow () { LOG.info(DateUtils.now()); }