Search in sources :

Example 1 with TextAcceptor

use of jetbrains.communicator.util.TextAcceptor in project intellij-plugins by JetBrains.

the class RegistrationFormTest method setUp.

@Override
protected void setUp() throws Exception {
    super.setUp();
    myFacade = new MockJabberFacade();
    myTextAcceptor = new TextAcceptor() {

        @Override
        public void setText(String text) {
            myErrorText = text;
        }
    };
    myIdeFacade = new MockIDEFacade();
    myForm = new RegistrationForm(myFacade, myIdeFacade, myTextAcceptor);
}
Also used : TextAcceptor(jetbrains.communicator.util.TextAcceptor) MockIDEFacade(jetbrains.communicator.mock.MockIDEFacade)

Aggregations

MockIDEFacade (jetbrains.communicator.mock.MockIDEFacade)1 TextAcceptor (jetbrains.communicator.util.TextAcceptor)1