@Test
public void handleGet() throws BindException, XMLSemanticError {

    List<Stanza> responses = handler.handleGet(stanza, serverRuntimeContext, sessionContext, null);
    Stanza response = responses.get(0);
    Stanza expected = StanzaBuilder
            .createIQStanza(stanza.getTo(), stanza.getFrom(), IQStanzaType.RESULT, stanza.getID())
            .startInnerElement("query", NamespaceURIs.XEP0065_SOCKS5_BYTESTREAMS)
            .startInnerElement("streamhost", NamespaceURIs.XEP0065_SOCKS5_BYTESTREAMS)
            .addAttribute("host", proxyAddress.getHostName()).addAttribute("jid", jid.getFullQualifiedName())
            .addAttribute("port", Integer.toString(proxyAddress.getPort())).build();
    StanzaAssert.assertEquals(expected, response);
}