@Test
public void deserialize() {

    MyPojo pojo;
    try (JsonDeserializer<MyPojo> deserializer = new JsonDeserializer<>(MyPojo.class)) {
        pojo = deserializer.deserialize(POJO_STRING.getBytes());
    }
    assertEquals(POJO, pojo);
}