@Test
public void messageArrivedShouldShowMessageAndNotifyUserInterfaceButNotSetNewMessageFlagWhenVisibleAndFocused() {

    setUpExistingUser();
    when(userInterface.isVisible()).thenReturn(true);
    when(userInterface.isFocused()).thenReturn(true);
    responder.messageArrived(100, "msg2", 200);
    verify(messageController).showUserMessage("Tester", "msg2", 200);
    verify(userInterface).notifyMessageArrived(user, "msg2");
    assertFalse(me.isNewMsg());
}