### Question:
DefaultObjectMapperSupplier implements ObjectMapperSupplier { @Override public ObjectMapper get() { final ObjectMapper objectMapper = new ObjectMapper(); objectMapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false); return objectMapper; }  @Override ObjectMapper get();  }### Answer:
@Test public void shouldMapWithUnknownProperties() throws IOException { ObjectMapper objectMapper = defaultObjectMapperSupplier.get(); SampleClassExtra base = new SampleClassExtra("23", "one", new Date(), 45l); final String serialized = objectMapper.writeValueAsString(base); final SampleClass result = objectMapper.readValue(serialized, SampleClass.class); assertThat(result).isEqualToComparingFieldByField(base); }