@Test
    public void testQuery() throws IOException {
        Assert.assertEquals("query", restService.bindQuery("query"));

        DefaultHttpClient httpclient = new DefaultHttpClient();
        HttpGet httpGet = new HttpGet("http://127.0.0.1:8803/rest/bindQuery?queryP=queryBBB");

        HttpResponse httpResponse = httpclient.execute(httpGet);
        String result = EntityUtils.toString(httpResponse.getEntity());

        Assert.assertEquals("queryBBB", result);
    }
@author <a href="mailto:lw111072@antfin.com">liangen</a>
test/test-integration/src/test/java/com/alipay/sofa/rpc/server/rest/RestDataBindingTest.java