public static URI buildUri(String url, Query query) throws URISyntaxException {
        if (query != null && !query.isEmpty()) {
            url = url + "?" + query.toQueryUrl();
        }
        return new URI(url);
    }
@Test
    void testBuildUriForEmptyQuery() throws URISyntaxException {
        URI actual = HttpUtils.buildUri("www.aliyun.com", null);
        assertEquals("www.aliyun.com", actual.toString());
        actual = HttpUtils.buildUri("www.aliyun.com", new Query());
        assertEquals("www.aliyun.com", actual.toString());
    }