@Test
public void convert() throws Exception {

    LocalDateConverter conv = new LocalDateConverter();
    LocalDate value = conv.convert("2007-12-03", context);
    assertThat(LocalDate.parse("2007-12-03")).isEqualTo(value);
    value = conv.convert("foo", context);
    assertThat(value).isNull();
}