### Question:
LocalDateConverter extends AbstractConverter { @Override protected Object toObjectImpl(final String text) { if (text.isEmpty()) { return null; } return ZonedDateTime.class.cast(new ZonedDateTimeConverter().toObjectImpl(text)).toLocalDate(); } LocalDateConverter();   }### Answer:
@Test void ensureItToleratesAnotherFormat() { final LocalDateTime localDateTime = LocalDateTime.now(); assertEquals(localDateTime.toLocalDate(), new LocalDateConverter().toObjectImpl(localDateTime.toString())); }
@Test void nativeFormat() { final LocalDate localDate = LocalDate.now(); assertEquals(localDate, new LocalDateConverter().toObjectImpl(localDate.toString())); }