private ChatStateHook chatStateHook;
private XmppSessionTester session;
@Before
public void beforeTests() {
final EventBus eventBus = new SimpleEventBus();
session = new XmppSessionTester();
chatManager = new PairChatManagerImpl(eventBus, session, new PairChatSelectionStrategy());
session.setLoggedIn(MYSELF);
final ChatStateManager stateManager = new ChatStateManager(eventBus, chatManager);
chat = chatManager.open(OTHER);