@Before
public void beforeTests() {
session.setLoggedIn(USER_URI);
final PairChatManagerImpl manager = new PairChatManagerImpl(eventBus, session, new PairChatSelectionStrategy());
final ChatProperties properties = new ChatProperties(CHAT_URI, USER_URI, ChatStatus.ready);
pairChat = manager.openChat(properties, true);
pairChat.setThread("theThread");
}
@Override
public PairChat getChat() {