@Test
public void sendDraftMessage() throws NotFoundException {
when(userService.getByUsername(USERNAME)).thenReturn(JC_USER);
when(userService.getCurrentUser()).thenReturn(JC_USER);
PrivateMessageDto dto = getPrivateMessageDto();
dto.setRecipient(USERNAME);
dto.setId(4);
BindingResult bindingResult = new BeanPropertyBindingResult(dto, "privateMessageDto");
ModelAndView mav = controller.sendMessage(dto, bindingResult);
assertEquals(mav.getViewName(), "redirect:/outbox");
verify(pmService).sendDraft(dto.getId(), dto.getTitle(), dto.getBody(), JC_USER, JC_USER);
}