@Override
    public List<String> getServerList() {
        return serverList.isEmpty() ? serversFromEndpoint : serverList;
    }
@Test
    void testConstructEndpointContextPathIsEmpty() throws Exception {
        clientProperties.setProperty(PropertyKeyConst.ENDPOINT_CONTEXT_PATH, "");
        clientProperties.setProperty(PropertyKeyConst.CONTEXT_PATH, "bbb");
        clientProperties.setProperty(PropertyKeyConst.ENDPOINT_CLUSTER_NAME, "ccc");
        clientProperties.setProperty(PropertyKeyConst.ENDPOINT, "127.0.0.1");
        Mockito.reset(nacosRestTemplate);
        Mockito.when(nacosRestTemplate.get(eq("http://127.0.0.1:8080/bbb/ccc"), any(), any(), any()))
                .thenReturn(httpRestResult);
        serverListManager = new ServerListManager(clientProperties, "test");
        List<String> serverList = serverListManager.getServerList();
        assertEquals(1, serverList.size());
        assertEquals("127.0.0.1:8848", serverList.get(0));
    }