Integration testing resources - SoftwareSandbox/Fiazard GitHub Wiki

When writing the integration test for the OpeningHourResourceV1, I came across a problem with custom Json serializers/deserializers.

When serializing, Jackson knows about the custom serializers because of following line in FiazardApp: environment.getObjectMapper().registerModule(FiazardJacksonModuleFactory.newModule());

However, in the OpeningHourResourceV1IntegrationTest, the Client does not know of the custom serializers/deserializers.

To work around this, for now, I explicitly put the deserializers on the fields (see OpenPeriodR.from).