@Test
public void convert() throws Exception {

    OffsetDateTimeConverter conv = new OffsetDateTimeConverter();
    OffsetDateTime value = conv.convert("2007-12-03T10:15:30+01:00", context);
    assertThat(OffsetDateTime.parse("2007-12-03T10:15:30+01:00")).isEqualTo(value);
    value = conv.convert("foo", context);
    assertThat(value).isNull();
}