### Question:
Psd2DateTimeDeserializer extends JsonDeserializer<OffsetDateTime> { @Override public OffsetDateTime deserialize(JsonParser parser, DeserializationContext context) throws IOException { String text = parser.getText(); if (text == null || text.isEmpty()) { return null; } return OffsetDateTime.parse(text, psd2Formatter); }  @Override OffsetDateTime deserialize(JsonParser parser, DeserializationContext context);  }### Answer:
@Test void deserialize() throws IOException { OffsetDateTime time = deserializer.deserialize(new JsonParserDelegate(mock(JsonParser.class)), null); assertThat(time).isNull(); }