}
@Test
@ExpectedDatabase("toDoData.xml")
public void updateTodoWhenTodoIsNotFoundAsUser() throws Exception {
TodoDTO updated = TodoTestUtil.createDTO(3L, "description", "title");
mockMvc.perform(put("/api/todo/{id}", 3L)
.contentType(IntegrationTestUtil.APPLICATION_JSON_UTF8)
.content(IntegrationTestUtil.convertObjectToJsonBytes(updated))
.with(userDetailsService(IntegrationTestUtil.CORRECT_USERNAME))