@Override
    protected XmppWebSocketTransport getTransport() {
        return websocketTransport;
    }
@Test
    public void lookupConnectionEndpointsTest() throws URISyntaxException {
        XmppWebSocketTransportModuleDescriptor websocketTransportModuleDescriptor = getWebSocketDescriptor();
        ModularXmppClientToServerConnectionInternal connectionInternal = mock(ModularXmppClientToServerConnectionInternal.class);

        XmppWebSocketTransportModule transportModule
                        = new XmppWebSocketTransportModule(websocketTransportModuleDescriptor, connectionInternal);

        XmppWebSocketTransportModule.XmppWebSocketTransport transport = transportModule.getTransport();
        assertNotNull(transport.lookupConnectionEndpoints());

    }