@Test public void testToStringWithNullValue() { String actualDate = DateUtil.toString(null); Assert.assertNull(actualDate); }
public static String toString(Date date) { if (date != null) { return formatter.format(date); } return null; }
DateUtil { public static String toString(Date date) { if (date != null) { return formatter.format(date); } return null; } }
DateUtil { public static String toString(Date date) { if (date != null) { return formatter.format(date); } return null; } private  DateUtil(); }
DateUtil { public static String toString(Date date) { if (date != null) { return formatter.format(date); } return null; } private  DateUtil(); static String toString(Date date); static String toISO8601String(Date date); static Date dateFromString(String date); static Date nowDate(); }
DateUtil { public static String toString(Date date) { if (date != null) { return formatter.format(date); } return null; } private  DateUtil(); static String toString(Date date); static String toISO8601String(Date date); static Date dateFromString(String date); static Date nowDate();  }