@Test
	void refreshScopeIncludedAndPropertyDisabled() {
		new ApplicationContextRunner().withConfiguration(AutoConfigurations.of(RefreshAutoConfiguration.class))
			.withPropertyValues("eureka.client.refresh.enable=false")
			.withUserConfiguration(Beans.class)
			.run(c -> {
				assertThat(c).hasSingleBean(org.springframework.cloud.context.scope.refresh.RefreshScope.class);
				assertThat(c).doesNotHaveBean("foo");
				assertThat(c.getBean("bar")).isEqualTo("bar");
			});
	}
@author Dave Syer
@author Biju Kunjummen
spring-cloud-netflix-eureka-client/src/test/java/org/springframework/cloud/netflix/eureka/ConditionalOnRefreshScopeTests.java