@Test
void fromJSONWithEmptyOptional() throws IOException {

    @SuppressWarnings("unchecked")
    var parsedBean = (Optional<TestBean>) reader.fromJSON(Types.optional(TestBean.class), Strings.bytes("null"));
    assertThat(parsedBean).isNotPresent();
}