    @Test
    public void testSerialize() throws Exception {

        String actual = new Service("test-service").toJson();
        System.out.println(actual);
        assertTrue(actual.contains("\"checksum\":\"394c845e1160bb880e7f26fb2149ed6d\""));
        assertTrue(actual.contains("\"clusterMap\":{}"));
        assertTrue(actual.contains("\"empty\":true"));
        assertTrue(actual.contains("\"enabled\":true"));
        assertTrue(actual.contains("\"finalizeCount\":0"));
        assertTrue(actual.contains("\"ipDeleteTimeout\":30000"));
        assertTrue(actual.contains("\"lastModifiedMillis\":0"));
        assertTrue(actual.contains("\"metadata\":{}"));
        assertTrue(actual.contains("\"name\":\"test-service\""));
        assertTrue(actual.contains("\"owners\":[]"));
        assertTrue(actual.contains("\"protectThreshold\":0.0"));
        assertTrue(actual.contains("\"resetWeight\":false"));
        assertTrue(actual.contains("\"selector\":{\"type\":\"none\"}"));
        assertFalse(actual.contains("clientBeatCheckTask"));
        assertFalse(actual.contains("serviceString"));
        assertFalse(actual.contains("pushService"));
    }