JacksonConversionFactory implements ConversionFactory { @Override public <T extends ReactiveEntity> Deserializer<T> deserializer() { return new JacksonDeserializer<T>(mapper, new TypeReference<BeanWrapper<T>>() { }); }  @Override Serializer<T> serializer(); @Override Deserializer<T> deserializer();  }
@Test public void shouldReturnDeSerializer() { final Deserializer<ReactiveEntity> deserializer = factory.deserializer(); assertEquals(JacksonDeserializer.class, deserializer.getClass()); }