@Test
    public void testOnClose() {
        shenyuWebsocketClient = spy(shenyuWebsocketClient);
        doNothing().when(shenyuWebsocketClient).close();
        shenyuWebsocketClient.onClose(1, "shenyu-plugin-grpc", true);
        verify(shenyuWebsocketClient).close();
    }
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