ModelObjectMapper { public ObjectMapper createNewObjectMapper() { return OBJECT_MAPPER.copy(); }  ObjectMapper createNewObjectMapper();  }
@Test public void createdInstanceIsIsolatedTest() { final ObjectMapper first = ModelObjectMapper.createNewObjectMapper(); final ObjectMapper second = ModelObjectMapper.createNewObjectMapper(); assertThat(first).isNotEqualTo(second); assertThat(first.getPropertyNamingStrategy()) .isEqualTo(second.getPropertyNamingStrategy()) .isNull(); first.setPropertyNamingStrategy(PropertyNamingStrategy.SNAKE_CASE); assertThat(first.getPropertyNamingStrategy()) .isNotEqualTo(second.getPropertyNamingStrategy()); }