@Test(expected = TodoNotFoundException.class)
public void updateWhenToDoIsNotFound() throws TodoNotFoundException {
TodoDTO formObject = TodoTestUtil.createFormObject(TodoTestUtil.ID, TodoTestUtil.DESCRIPTION_UPDATED, TodoTestUtil.TITLE_UPDATED);
when(serviceMock.update(formObject)).thenThrow(new TodoNotFoundException(""));
MockHttpServletRequest mockRequest = new MockHttpServletRequest("POST", "/todo/add");
BindingResult result = bindAndValidate(mockRequest, formObject);
RedirectAttributesModelMap attributes = new RedirectAttributesModelMap();