public String toInetAddr() {
        return ip + ":" + port;
    }
@Test
    void testToInetAddr() {
        Instance instance = new Instance();
        setInstance(instance);
        assertEquals("1.1.1.1:1000", instance.toInetAddr());
    }