TestIQHandler iqHandler = new TestIQHandler();
ResponseStanzaContainer responseStanzaContainer = iqHandler.execute(stanzaBuilder.build(), sessionContext.getServerRuntimeContext(), true, sessionContext, null);
IQStanza incomingStanza = iqHandler.getIncomingStanza();
XMPPCoreStanzaVerifier verifier = incomingStanza.getCoreVerifier();
assertTrue("iq", verifier.nameEquals("iq"));
assertTrue("iq-id", verifier.attributeEquals("id", "1"));
assertTrue("iq-type-get", verifier.attributeEquals("type", "get"));
// response is "result"
Stanza responseStanza = responseStanzaContainer.getResponseStanza();