Package com.calclab.emite.xep.search

Examples of com.calclab.emite.xep.search.SearchFields


    session.answerSuccess(new IQ(XMLBuilder.fromXML(XEP_0055_2_1_SAMPLE_2)));
    Mockito.verify(result, Mockito.never()).onFailure(Matchers.anyString());
    Mockito.verify(result).onSuccess(Matchers.argThat(new ArgumentMatcher<SearchFields>() {
      @Override
      public boolean matches(final Object arg0) {
        final SearchFields response = (SearchFields) arg0;
        final List<String> fields = response.getFieldNames();
        assertTrue(fields.contains("first"));
        assertTrue(fields.contains("last"));
        assertTrue(fields.contains("nick"));
        assertTrue(fields.contains("email"));
        assertFalse(fields.contains("instructions"));
View Full Code Here

TOP

Related Classes of com.calclab.emite.xep.search.SearchFields

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.