@Test
public void messageArrivedShouldShowMessageAndNotifyUserInterfaceButNotSetNewMessageFlagWhenNotVisible() {

    setUpExistingUser();
    when(userInterface.isVisible()).thenReturn(false);
    when(userInterface.isFocused()).thenReturn(false); // Can't be focused if not visible
    responder.messageArrived(100, "msg3", 200);
    verify(messageController).showUserMessage("Tester", "msg3", 200);
    verify(userInterface).notifyMessageArrived(user, "msg3");
    assertFalse(me.isNewMsg());
}