@Override
    protected HttpApiSpecificInfo doParse(final ApiBean.ApiDefinition apiDefinition) {

        String produce = ShenyuClientConstants.MEDIA_TYPE_ALL_VALUE;

        String consume = ShenyuClientConstants.MEDIA_TYPE_ALL_VALUE;

        List<ApiHttpMethodEnum> apiHttpMethodEnums = Lists.newArrayList(ApiHttpMethodEnum.NOT_HTTP);

        return new HttpApiSpecificInfo(produce, consume, apiHttpMethodEnums);
    }
@Test
    public void testDoParse() {
        final TestApiBeanAnnotatedClassAndMethod bean = new TestApiBeanAnnotatedClassAndMethod();
        
        ApiBean apiBean = new ApiBean(RpcTypeEnum.HTTP.getName(), "bean", bean);
        
        apiBean.addApiDefinition(null, null);
        
        AbstractApiDocRegistrar.HttpApiSpecificInfo httpApiSpecificInfo =
                noHttpApiDocRegistrar.doParse(apiBean.getApiDefinitions().get(0));
        
        assertThat(httpApiSpecificInfo.getApiHttpMethodEnums().get(0), is(ApiHttpMethodEnum.NOT_HTTP));
        
        assertThat(httpApiSpecificInfo.getConsume(), is(ShenyuClientConstants.MEDIA_TYPE_ALL_VALUE));
        
        assertThat(httpApiSpecificInfo.getProduce(), is(ShenyuClientConstants.MEDIA_TYPE_ALL_VALUE));
    }