### Question:
DateUtils { public static String toFullLocalDateFormat(final Date date) { return dateToString(date, FULL_DATE_FORMAT, null); }  static String dateToString(final Date date); static String toUTCDateFormat(final Date date); static String toUTCDateFormatWithMilliseconds(final Date date); static String toFullLocalDateFormat(final Date date); static Date stringToDate(String strDate);  }### Answer:
@Test public void testToFullLocalDateFormat() { String have = DateUtils.toFullLocalDateFormat(dateWithoutMilliseconds); SimpleDateFormat sdf = localSimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss"); String expect = sdf.format(dateWithoutMilliseconds); assertThat(have.startsWith(expect)).isTrue(); }