stanzaBuilder.addAttribute("type", "get");
// missing stanzaBuilder.addAttribute("to", "test@example.com");
stanzaBuilder.addAttribute("id", "anyway");
stanzaBuilder.startInnerElement("inner", NamespaceURIs.JABBER_SERVER).endInnerElement();
TestSessionContext sessionContext = this.sessionContext;
sessionContext.setServerToServer();
TestIQHandler iqHandler = new TestIQHandler();
ResponseStanzaContainer responseStanzaContainer = iqHandler.execute(stanzaBuilder.build(), sessionContext
.getServerRuntimeContext(), true, sessionContext, null);
Stanza responseStanza = responseStanzaContainer.getResponseStanza();
XMLElementVerifier verifier = responseStanza.getVerifier();
assertTrue("error", verifier.nameEquals("error"));
}