@Test
public void msgShouldShowSystemMessageIfSendPrivateMessageFails() throws CommandException {

    final User someOne = setupSomeOne();
    someOne.setPrivateChatPort(1000);
    doThrow(new CommandException("No message")).when(controller).sendPrivateMessage(anyString(), any(User.class));
    parser.parse("/msg SomeOne hello");
    verify(controller).sendPrivateMessage("hello", someOne);
    verify(messageController).showSystemMessage("No message");
}