@Override
    public ShenyuContext decorator(final ShenyuContext shenyuContext, final MetaData metaData) {
        shenyuContext.setModule(metaData.getAppName());
        shenyuContext.setMethod(metaData.getServiceName());
        shenyuContext.setContextPath(metaData.getContextPath());
        shenyuContext.setRpcType(RpcTypeEnum.GRPC.getName());
        return shenyuContext;
    }
@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());
    }