public String generateResponseIps(List<com.alibaba.nacos.api.naming.pojo.Instance> instanceList) {
        
        StringBuilder ips = new StringBuilder();
        instanceList.forEach(instance -> {
            ips.append(instance.getIp()).append(':').append(instance.getPort());
            ips.append('\n');
        });
        
        return ips.toString();
    }
@Test
    void testGenerateResponseIps() {
        final List<com.alibaba.nacos.api.naming.pojo.Instance> instanceList = new ArrayList<>();
        Instance instance1 = new Instance();
        instance1.setIp("192.168.3.1");
        instance1.setPort(8848);
    
        Instance instance2 = new Instance();
        instance2.setIp("192.168.3.2");
        instance2.setPort(8848);
        
        Instance instance3 = new Instance();
        instance3.setIp("192.168.3.3");
        instance3.setPort(8848);
    
        instanceList.add(instance1);
        instanceList.add(instance2);
        instanceList.add(instance3);
        
        AddressServerGeneratorManager manager = new AddressServerGeneratorManager();
        final String ipListStr = manager.generateResponseIps(instanceList);
        
        StringBuilder expectStr = new StringBuilder();
        final StringBuilder ret = expectStr
                .append("192.168.3.1:8848").append('\n')
                .append("192.168.3.2:8848").append('\n')
                .append("192.168.3.3:8848").append('\n');
        assertEquals(ret.toString(), ipListStr);
    
    }