### Question:
TimeToStringConverter extends StringConverter<LocalTime> { @Override public String toString(final LocalTime time) { if (time == null) { return ""; } return TIME_FORMATTER.format(time); }  @Override String toString(final LocalTime time); @Override LocalTime fromString(final String timeText);  }### Answer:
@Test public void testToString() { assertEquals("", CONVERTER.toString(null)); assertEquals("00:00", CONVERTER.toString(LocalTime.of(0, 0))); assertEquals("00:59", CONVERTER.toString(LocalTime.of(0, 59))); assertEquals("23:59", CONVERTER.toString(LocalTime.of(23, 59))); }