@Override public void connectionCallback(XMPPTCPConnection connection) throws Exception { if (!connection.isSmAvailable()) { throw new TestNotPossibleException("XEP-198: Stream Mangement not supported by service"); } } });
if (isSmAvailable() && useSm) {