title: ObjectMapper configuration from application.yml not used in tests
body: <p>Note that this is <strong>not</strong> the same issues as in <a href="https://stackoverflow.com/questions/31883657/">Customized ObjectMapper not used in test</a>, which is about importing a programmatically configured ObjectMapper.</p>
  
  <p>I want to have a single source of truth for the configuration of the ObjectMapper, and the logical place to do that is the spring <code>application.yml</code> via the <code>spring.jackson</code> properties. I can't figure out how to apply that configuration though. I'm using a simple <code>@ExtendWith(SpringExtension.class)</code> annotation on my JUnit5 tests.</p>
  
  <p>I've tried <code>@AutoConfigureJsonTesters</code>, <code>@Import(JacksonAutoConfiguration.class)</code> and <code>@ContextConfiguration(classes = JacksonAutoConfiguration.class)</code>, to no avail.</p>