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.