public void setCluster(String cluster) {
        this.cluster = cluster;
    }
@Test
    void testSerialize() throws JsonProcessingException {
        ServiceQueryRequest request = new ServiceQueryRequest(NAMESPACE, SERVICE, GROUP);
        request.setCluster(Constants.DEFAULT_CLUSTER_NAME);
        String json = mapper.writeValueAsString(request);
        checkSerializeBasedInfo(json);
        assertTrue(json.contains("\"cluster\":\"" + Constants.DEFAULT_CLUSTER_NAME + "\""));
        assertTrue(json.contains("\"healthyOnly\":false"));
        assertTrue(json.contains("\"udpPort\":0"));
    }