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