@Test
	public void testNacosLoadBalancerEnabled() {
		contextRunner.withPropertyValues("spring.cloud.loadbalancer.nacos.enabled=true")
				.withConfiguration(AutoConfigurations.of(
						LoadBalancerNacosAutoConfiguration.class,
						NacosLoadBalancerClientConfiguration.class))
				.run(context -> {
					assertThat(context).hasSingleBean(LoadBalancerAlgorithm.class);
					assertThat(context).hasBean("nacosLoadBalancer");
				});
	}
@author <a href="mailto:zhangbin1010@qq.com">zhangbinhub</a>
spring-cloud-alibaba-starters/spring-cloud-starter-alibaba-nacos-discovery/src/test/java/com/alibaba/cloud/nacos/discovery/NacosDiscoveryLoadBalancerConfigurationTest.java