myUserTree.onDblClick(myTreePath, myTreePath.getLastPathComponent(), createMouseEvent());
assertTrue("Expect send message dialog", mySendMessageInvoked);
}
public void testDoubleClickEventsInQueue() throws Exception {
MockIdeaMessage message = new MockIdeaMessage();
myLocalMessageDispatcher.addPendingMessage(myUser, message);
MouseEvent mouseEvent = createMouseEvent();
myUserTree.onClick(myTreePath, myTreePath.getLastPathComponent(), mouseEvent);
myUserTree.onDblClick(myTreePath, myTreePath.getLastPathComponent(), mouseEvent);