@Test
@Ignore("sub protocol check temporarily disabled for Tomcat")
public void doWebSocketConnectWithInvalidSubprotocl() throws ServletException {

    TomcatXmppWebSocketServlet servlet = new TomcatXmppWebSocketServlet(serverRuntimeContext, stanzaProcessor);
    StreamInbound webSocket = servlet.createWebSocketInbound("dummy");
    Assert.assertNull(webSocket);
}