@Test
	public void testGetServices() throws Exception {

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

		List<String> services = client.getServices();

		assertThat(services).contains("service-1").size().isEqualTo(1);

	}
@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