@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.DUBBO.getName());
        return shenyuContext;
    }
@Test
    public void decorator() {
        MetaData metaData = MetaData.builder()
                .id(MOCK_ID)
                .appName(MOCK_APP_NAME)
                .contextPath(MOCK_CONTEXT_PATH)
                .serviceName(MOCK_SERVICE_NAME)
                .build();
        ShenyuContext shenyuContext = new ShenyuContext();
        shenyuContext = dubboShenyuContextDecorator.decorator(shenyuContext, metaData);
        assert MOCK_APP_NAME.equals(shenyuContext.getModule());
        assert MOCK_CONTEXT_PATH.equals(shenyuContext.getContextPath());
        assert MOCK_SERVICE_NAME.equals(shenyuContext.getMethod());
    }