@Test
public void testUpdateServerList() {

    String serverList = "list://1.1.1.1:1111,2.2.2.2:2222";
    ListNamingService namingService = new ListNamingService(new BrpcURL(serverList));
    List<ServiceInstance> instances = namingService.lookup(null);
    assertThat(instances, hasItems(
            new ServiceInstance("1.1.1.1", 1111),
            new ServiceInstance("2.2.2.2", 2222)
    ));
    assertThat(instances.size(), is(2));
}