@Test
    public void testDecorator() {
        MetaData metaData = new MetaData();
        metaData.setAppName("grpc");
        metaData.setServiceName("echo");
        metaData.setRpcType(PluginEnum.GRPC.getName());
        metaData.setContextPath("/grpc");
        final ShenyuContext shenyuContext = grpcShenyuContextDecorator.decorator(new ShenyuContext(), metaData);
        assertNotNull(shenyuContext);
        assertNotNull(shenyuContext.getContextPath());
        assertNotNull(shenyuContext.getMethod());
        assertNotNull(shenyuContext.getModule());
    }
The Test Case For {@link GrpcShenyuContextDecorator}.
shenyu-plugin/shenyu-plugin-proxy/shenyu-plugin-rpc/shenyu-plugin-grpc/src/test/java/org/apache/shenyu/plugin/grpc/context/GrpcShenyuContextDecoratorTest.java