@Test
public void submitEditPersonFormWhenPersonIsNotFound() throws PersonNotFoundException {
MockHttpServletRequest mockRequest = new MockHttpServletRequest("/person/edit", "POST");
PersonDTO updated = PersonTestUtil.createDTO(PERSON_ID, FIRST_NAME_UPDATED, LAST_NAME_UPDATED);
when(personServiceMock.update(updated)).thenThrow(new PersonNotFoundException());
initMessageSourceForErrorMessage(PersonController.ERROR_MESSAGE_KEY_EDITED_PERSON_WAS_NOT_FOUND);
BindingResult bindingResult = bindAndValidate(mockRequest, updated);
RedirectAttributes attributes = new RedirectAttributesModelMap();