@Test
	void notOverridingMetamapSettings() {
		new ApplicationContextRunner()
			.withConfiguration(AutoConfigurations.of(EurekaClientConfigServerAutoConfiguration.class,
					UtilAutoConfiguration.class, ConfigServerProperties.class, EurekaInstanceConfigBean.class))
			.withPropertyValues("spring.cloud.config.server.prefix=/config")
			.withPropertyValues("eureka.instance.metadataMap.configPath=/differentpath")
			.run(c -> {
				assertThat(c.getBeanNamesForType(EurekaInstanceConfig.class).length).isEqualTo(1);
				EurekaInstanceConfig instance = c.getBean(EurekaInstanceConfig.class);
				assertThat(instance.getMetadataMap().get("configPath")).isEqualTo("/differentpath");
			});
	}
@author Dave Syer
@author Biju Kunjummen
spring-cloud-netflix-eureka-client/src/test/java/org/springframework/cloud/netflix/eureka/config/EurekaClientConfigServerAutoConfigurationTests.java