@Test
void canSerializeZonedDateTimes() {

    ZonedDateTime zonedDt = ZonedDateTime.parse("1985-07-03T18:00:00.042Z").withFixedOffsetZone();
    TestDates test = new TestDates();
    test.setZonedDateTime(zonedDt);
    String actual = om.writeValue(test);
    assertEquals("{\"zonedDateTime\":\"1985-07-03T18:00:00.042Z\"}", actual);
}