	@Test
	void getConfiguration_classpathScanningDisabled() {

		this.webApplicationContextRunner
				.withPropertyValues("joinfaces.rewrite.annotation-config-provider.enabled=false")
				.run(context -> {
			SpringBootAnnotationConfigProvider annotationConfigProvider = context.getBean(
					SpringBootAnnotationConfigProvider.class);
			assertThat(annotationConfigProvider).isNotNull();
			MockServletContext servletContext = new MockServletContext();
			Configuration configuration = annotationConfigProvider.getConfiguration(servletContext);
			assertThat(configuration).isNull();
		});
	}