EventsProcessor processor = new EventsProcessor((IDEtalkMessagesWindow) myMock.proxy(), myUserModel, localMessageDispatcher, null);
disposeOnTearDown(processor);
}
public void testIncomingMessage_No_Tab_WithExpand() throws Exception {
MessageEvent event = EventFactory.createMessageEvent(new MockTransport(), "bob", "text");
myMock.expects(once()).method("expandToolWindow");
myMock.expects(once()).method("newMessageAvailable").with(eq(myUserModel.createUser("bob", MockTransport.NAME)), eq(event));
myMock.expects(once()).method("getWindow").will(returnValue(null));