@Test
public void convert() throws Exception {

    LocalDateTimeConverter conv = new LocalDateTimeConverter();
    LocalDateTime value = conv.convert("2007-12-03T10:15:30", context);
    assertThat(LocalDateTime.parse("2007-12-03T10:15:30")).isEqualTo(value);
    value = conv.convert("foo", context);
    assertThat(value).isNull();
}