public boolean checkValid(String connectionId) {
        return connections.containsKey(connectionId);
    }
@Test
    void testCheckValid() {
        assertTrue(connectionManager.checkValid(connectId));
    }