@Test public void shouldHandleNullDate() { String result = converter.convert(null); Assert.assertNull(result); }
public String convert(Calendar date) { if (date == null) { return null; } return dateFormat.format(date.getTime()); }
DateConverter { public String convert(Calendar date) { if (date == null) { return null; } return dateFormat.format(date.getTime()); } }
DateConverter { public String convert(Calendar date) { if (date == null) { return null; } return dateFormat.format(date.getTime()); }  }
DateConverter { public String convert(Calendar date) { if (date == null) { return null; } return dateFormat.format(date.getTime()); }  String convert(Calendar date); }
DateConverter { public String convert(Calendar date) { if (date == null) { return null; } return dateFormat.format(date.getTime()); }  String convert(Calendar date);  }