@Test
public void awayShouldShowSystemMessageIfChangeFails() throws CommandException {

    doThrow(new CommandException("Don't go away")).when(controller).goAway(anyString());
    parser.parse("/away Leaving for good");
    verify(controller).goAway("Leaving for good");
    verify(messageController).showSystemMessage("Don't go away");
}