Search in sources :

Example 1 with JabberFacade

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());
}
Also used : JabberFacade(jetbrains.communicator.jabber.JabberFacade) JabberUI(jetbrains.communicator.jabber.JabberUI) UserModelImpl(jetbrains.communicator.core.impl.users.UserModelImpl)

Aggregations

UserModelImpl (jetbrains.communicator.core.impl.users.UserModelImpl)1 JabberFacade (jetbrains.communicator.jabber.JabberFacade)1 JabberUI (jetbrains.communicator.jabber.JabberUI)1