XMPPVersion versionSent = new XMPPVersion(1, 1);
Stanza response = getVersionResponse(versionSent);
XMLElementVerifier responseVerifier = response.getVerifier();
assertTrue(responseVerifier.attributeEquals("version", XMPPVersion.VERSION_1_0.toString()));
assertFalse("no error", responseVerifier.subElementPresent("error"));
}
protected static class IllegalXMPPVersion extends XMPPVersion {
protected String versionString;