### Question:
JodaLocalDateToStringConverter implements Converter<String, LocalDate> { @CheckForNull @Override public LocalDate convertToModel(@CheckForNull String value, @CheckForNull Class<? extends LocalDate> targetType, @CheckForNull Locale locale) throws Converter.ConversionException { throw new UnsupportedOperationException(getClass().getName() + " only supports convertToPresentation"); }  @CheckForNull @Override LocalDate convertToModel(@CheckForNull String value,
            @CheckForNull Class<? extends LocalDate> targetType,
            @CheckForNull Locale locale); @CheckForNull @Override String convertToPresentation(@CheckForNull LocalDate value,
            @CheckForNull Class<? extends String> targetType,
            @CheckForNull Locale locale); static DateTimeFormatter getFormat(Locale locale); @Override Class<LocalDate> getModelType(); @Override Class<String> getPresentationType();  }### Answer:
@Test public void testConvertToModel() { Assertions.assertThrows(UnsupportedOperationException.class, () -> { new JodaLocalDateToStringConverter().convertToModel(null, null, null); }); }