<BUG>ObjectMapper mapper = new ObjectMapper(ExtendedPerson.class);</BUG><CONTEXT>assertThat(new SimpleDateFormat("yyyy-MM-dd").format(person.getBirthDate())).isEqualTo("1990-12-12");assertThat(person.isMarried()).isTrue();}@Testpublic void whenValuesAreValid_ThenInheritedFieldsOfTheMappedObjectShouldBeCorrectlyPopulated() throws Exception {<extra_id_0>Map<String, String> values = new HashMap<>();values.put("firstName", "foo");values.put("lastName", "bar");</CONTEXT>
ObjectMapper<ExtendedPerson> mapper = new ObjectMapper<>(ExtendedPerson.class);