    @Test
    public void testUpdatePerson() throws Exception {

        ObjectMapper mapper = new ObjectMapper();
        person.setDisplayName("newJunitTestPerson");
        String jsonValue = mapper.writeValueAsString(person);
        mockMvc.perform(put("/persons/" + personId).accept(MediaType.parseMediaType("application/json;charset=UTF-8"))
                                .contentType(MediaType.parseMediaType("application/json;charset=UTF-8")).content(jsonValue))
                .andExpect(status().isOk())
                .andExpect(content().contentType(MediaType.parseMediaType("application/json;charset=UTF-8")));
    }