@OnOpen
    public void onOpen(final Session session) {
        LOG.info("websocket on client[{}] open successful, maxTextMessageBufferSize: {}",
                getClientIp(session), session.getMaxTextMessageBufferSize());
        SESSION_SET.add(session);
    }
@Test
    public void testOnOpen() {
        websocketCollector.onOpen(session);
        assertEquals(1L, getSessionSetSize());
        doNothing().when(loggerSpy).warn(anyString(), anyString());
        websocketCollector.onClose(session);
    }