@Test
public void shouldDeserializeZonedDateTime() throws IOException {

    // given
    when(jsonParser.getText()).thenReturn("2017-10-19T16:10:00.000+02:00[Europe/Berlin]");
    final ZonedDateTime expectedDateTime = ZonedDateTime.of(2017,10,19,16,10,0,0, ZoneId.of("Europe/Berlin"));
    // when
    final ZonedDateTime deserialized = zonedDateTimeDeserializer.deserialize(jsonParser, null);
    // then
    assertThat(deserialized, is(expectedDateTime));
}