use of jetbrains.communicator.jabber.JabberFacade in project intellij-plugins by JetBrains.
the class FindByJabberIdCommandTest method setUp.
@Override
protected void setUp() throws Exception {
super.setUp();
myJabberFacade = mock(JabberFacade.class);
myJabberUI = mock(JabberUI.class);
myUserModel = new UserModelImpl(getBroadcaster());
disposeOnTearDown(myUserModel);
myCommand = new FindByJabberIdCommand((JabberFacade) myJabberFacade.proxy(), (JabberUI) myJabberUI.proxy(), myUserModel);
assertNotNull(myCommand.getName());
assertTrue(myCommand.isEnabled());
}
Aggregations