@Override
    public RequestTemplate parseRequestTemplate(final Method method, final ShenyuClientFactoryBean shenyuClientFactoryBean) {
        final RequestTemplate requestTemplate = new RequestTemplate();
        requestTemplate.setMethod(method);
        requestTemplate.setReturnType(method.getReturnType());
        for (final Annotation methodAnnotation : method.getAnnotations()) {
            this.processAnnotationOnMethod(requestTemplate, methodAnnotation, method, shenyuClientFactoryBean);
        }
        return requestTemplate;
    }
@Test
    public void parseRequestTplTest() {
        SpringMvcContract contract = new SpringMvcContract();
        RequestTemplate template = contract.parseRequestTemplate(FIND_BY_ID, bean);

        assertSame(template.getMethod(), FIND_BY_ID);
        assertEquals(template.getPath(), "/findById");
        assertEquals(template.getHttpMethod(), ShenyuRequest.HttpMethod.GET);

        template = contract.parseRequestTemplate(INSERT, bean);
        assertSame(template.getMethod(), INSERT);
        assertEquals(template.getPath(), "/insert");
        assertEquals(template.getHttpMethod(), ShenyuRequest.HttpMethod.POST);

        template = contract.parseRequestTemplate(UPDATE, bean);
        assertSame(template.getMethod(), UPDATE);
        assertEquals(template.getPath(), "/update");
        assertEquals(template.getHttpMethod(), ShenyuRequest.HttpMethod.PUT);

        template = contract.parseRequestTemplate(DEL, bean);
        assertSame(template.getMethod(), DEL);
        assertEquals(template.getPath(), "/delete");
        assertEquals(template.getHttpMethod(), ShenyuRequest.HttpMethod.DELETE);
    }