@Test
	void statusPageUrl_and_healthCheckUrl_contain_management_context_path() {
		TestPropertyValues.of("server.port=8989", "management.server.servlet.context-path=/management")
			.applyTo(this.context);

		setupContext(RefreshAutoConfiguration.class);
		EurekaInstanceConfigBean instance = this.context.getBean(EurekaInstanceConfigBean.class);
		assertThat(instance.getStatusPageUrl().endsWith(":8989/management/actuator/info"))
			.as("Wrong status page: " + instance.getStatusPageUrl())
			.isTrue();
		assertThat(instance.getHealthCheckUrl().endsWith(":8989/management/actuator/health"))
			.as("Wrong health check: " + instance.getHealthCheckUrl())
			.isTrue();
	}
@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