Examples of PostSignerInfoResponseListener


Examples of org.waveprotocol.wave.federation.WaveletFederationProvider.PostSignerInfoResponseListener

  public void testPostSigner() {
    disco.testInjectInDomainToJidMap(REMOTE_DOMAIN, REMOTE_JID);

    // Send the outgoing request. Assert that a packet is sent and that no
    // callbacks have been invoked.
    PostSignerInfoResponseListener listener = mock(PostSignerInfoResponseListener.class);
    remote.postSignerInfo(REMOTE_DOMAIN, FAKE_SIGNER_INFO, listener);
    verifyZeroInteractions(listener);
    assertEquals(1, transport.packetsSent);

    // Validate the outgoing request.
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.