@Override
    public List<String> getServerList() {
        return serverList.isEmpty() ? serversFromEndpoint : serverList;
    }
@Test
    void testConstructWithEndpointAndTimedNotNeedRefresh() throws Exception {
        Properties properties = new Properties();
        properties.put(PropertyKeyConst.ENDPOINT, "127.0.0.1");
        serverListManager = new ServerListManager(properties);
        List<String> serverList = serverListManager.getServerList();
        assertEquals(1, serverList.size());
        assertEquals("127.0.0.1:8848", serverList.get(0));
        
        httpRestResult.setData("127.0.0.1:8848\n127.0.0.1:8948");
        mockThreadInvoke(serverListManager, false);
        serverList = serverListManager.getServerList();
        assertEquals(1, serverList.size());
        assertEquals("127.0.0.1:8848", serverList.get(0));
    }