@Test
    public void testHandlerSelector() {
        when(selectorData.getId()).thenReturn(null);
        grpcPluginDataHandler.handlerSelector(selectorData);
        when(selectorData.getId()).thenReturn("selectorId");
        grpcPluginDataHandler.handlerSelector(selectorData);
        assertNotNull(GrpcClientCache.getGrpcClient(selectorData.getId()));
    }
The Test Case For {@link GrpcPluginDataHandler}.
shenyu-plugin/shenyu-plugin-proxy/shenyu-plugin-rpc/shenyu-plugin-grpc/src/test/java/org/apache/shenyu/plugin/grpc/handler/GrpcPluginDataHandlerTest.java