@Test
	void statusPageAndHealthCheckUrlsShouldSetUserDefinedIpAddress() {
		TestPropertyValues
			.of("server.port=8989", "management.server.port=9999", "eureka.instance.hostname=foo",
					"eureka.instance.ip-address:192.168.13.90", "eureka.instance.prefer-ip-address:true")
			.applyTo(this.context);

		setupContext(RefreshAutoConfiguration.class);
		EurekaInstanceConfigBean instance = this.context.getBean(EurekaInstanceConfigBean.class);

		assertThat(instance.getStatusPageUrl()).as("statusPageUrl is wrong")
			.isEqualTo("http://192.168.13.90:9999/actuator/info");
		assertThat(instance.getHealthCheckUrl()).as("healthCheckUrl is wrong")
			.isEqualTo("http://192.168.13.90:9999/actuator/health");
	}
@author Spencer Gibb
@author Matt Jenkins
@author Olga Maciaszek-Sharma
@author Tim Ysewyn
spring-cloud-netflix-eureka-client/src/test/java/org/springframework/cloud/netflix/eureka/EurekaClientAutoConfigurationTests.java