@Test
public void doWebSocketConnectWithInvalidSubprotocl() throws ServletException {

  JettyXmppWebSocketServlet servlet = new JettyXmppWebSocketServlet(serverRuntimeContext, stanzaProcessor);
    WebSocket webSocket = servlet.doWebSocketConnect(null, "dummy");
    Assert.assertNull(webSocket);
}