@Test
    public void testOnError() {
        shenyuWebsocketClient = spy(shenyuWebsocketClient);
        Assertions.assertDoesNotThrow(() -> shenyuWebsocketClient.onError(new ShenyuException("test")));
    }
add test case for {@link ShenyuWebsocketClient}.
shenyu-sync-data-center/shenyu-sync-data-websocket/src/test/java/org/apache/shenyu/plugin/sync/data/websocket/client/ShenyuWebsocketClientTest.java