@Test
	public void contextLoadsWithWebClient() {
		new WebApplicationContextRunner().withUserConfiguration(EurekaSampleApplication.class)
			.withPropertyValues("eureka.client.webclient.enabled=true")
			.run(context -> {
				assertThat(context).doesNotHaveBean(RestTemplateDiscoveryClientOptionalArgs.class);
				assertThat(context).hasSingleBean(WebClientDiscoveryClientOptionalArgs.class);
				assertThat(context).doesNotHaveBean(RestClientDiscoveryClientOptionalArgs.class);
			});
	}
@author Daniel Lavoie
@author Wonchul Heo
spring-cloud-netflix-eureka-client/src/test/java/org/springframework/cloud/netflix/eureka/config/EurekaHttpClientsOptionalArgsConfigurationTests.java