@Test
	public void eurekaConfigServerInstanceProviderCalled() {
		// FIXME: why do I need to do this? (fails in maven build without it.
		TomcatURLStreamHandlerFactory.disable();
		new SpringApplicationBuilder(TestConfigDiscoveryConfiguration.class)
			.properties("spring.config.use-legacy-processing=true", "spring.cloud.config.discovery.enabled=true",
					"eureka.client.enabled=true",
					"spring.main.sources=" + TestConfigDiscoveryBootstrapConfiguration.class.getName(),
					"logging.level.org.springframework.cloud.netflix.eureka.config=DEBUG")
			.run()
			.close();
		assertThat(output).contains("eurekaConfigServerInstanceProvider finding instances for configserver")
			.contains("eurekaConfigServerInstanceProvider found 1 instance(s) for configserver");
	}
@author Spencer Gibb
@author Tang Xiong
spring-cloud-netflix-eureka-client/src/test/java/org/springframework/cloud/netflix/eureka/config/EurekaConfigServerBootstrapConfigurationTests.java