Package com.calclab.emite.xtesting.handlers

Examples of com.calclab.emite.xtesting.handlers.ChatStateChangedTestHandler


    chatManager = new PairChatManagerImpl(eventBus, session, new PairChatSelectionStrategy());
    session.setLoggedIn(MYSELF);
    final ChatStateManager stateManager = new ChatStateManager(eventBus, chatManager);
    chat = chatManager.open(OTHER);
    chatStateHook = stateManager.getChatState(chat);
    stateHandler = new ChatStateChangedTestHandler();
    chatStateHook.addChatStateChangedHandler(stateHandler);
  }
View Full Code Here


  @Before
  public void aaCreate() {
    pairChat = Mockito.mock(PairChat.class);
    chatStateHook = new ChatStateHook(new SimpleEventBus(), pairChat);
    stateHandler = new ChatStateChangedTestHandler();
    chatStateHook.addChatStateChangedHandler(stateHandler);
  }
View Full Code Here

TOP

Related Classes of com.calclab.emite.xtesting.handlers.ChatStateChangedTestHandler

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.