@Test
	public void testGetInstances() throws Exception {

		when(serviceDiscovery.getInstances("service-1"))
				.thenReturn(singletonList(serviceInstance));

		List<ServiceInstance> serviceInstances = client.getInstances("service-1");

		assertThat(serviceInstances).isNotEmpty();

	}
@author xiaojing
@author echooymxq
@author freeman
spring-cloud-alibaba-starters/spring-cloud-starter-alibaba-nacos-discovery/src/test/java/com/alibaba/cloud/nacos/NacosDiscoveryClientTests.java