Home / Function/ containsPropertyWhenNotValidConfigurationPropertyName() — spring-boot Function Reference

containsPropertyWhenNotValidConfigurationPropertyName() — spring-boot Function Reference

Architecture documentation for the containsPropertyWhenNotValidConfigurationPropertyName() function in ConfigurationPropertySourcesPropertyResolverTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  174199de_6b5f_ef01_1e4b_06d7c42327a2["containsPropertyWhenNotValidConfigurationPropertyName()"]
  4b0cbf95_105c_735c_52db_6d75ba501b16["createMockPropertySource()"]
  174199de_6b5f_ef01_1e4b_06d7c42327a2 -->|calls| 4b0cbf95_105c_735c_52db_6d75ba501b16
  2374237a_90c7_0b99_3051_a03dbfe65a2d["containsProperty()"]
  174199de_6b5f_ef01_1e4b_06d7c42327a2 -->|calls| 2374237a_90c7_0b99_3051_a03dbfe65a2d
  b2e77f3e_609c_d14d_2a57_ef9c62e983d0["getCount()"]
  174199de_6b5f_ef01_1e4b_06d7c42327a2 -->|calls| b2e77f3e_609c_d14d_2a57_ef9c62e983d0
  style 174199de_6b5f_ef01_1e4b_06d7c42327a2 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/context/properties/source/ConfigurationPropertySourcesPropertyResolverTests.java lines 69–77

	@Test
	void containsPropertyWhenNotValidConfigurationPropertyName() {
		ResolverEnvironment environment = new ResolverEnvironment();
		CountingMockPropertySource propertySource = createMockPropertySource(environment, true);
		assertThat(environment.containsProperty("spr!ng")).isTrue();
		assertThat(environment.containsProperty("spr*ng")).isFalse();
		assertThat(propertySource.getCount("spr!ng")).isOne();
		assertThat(propertySource.getCount("spr*ng")).isOne();
	}

Domain

Subdomains

Frequently Asked Questions

What does containsPropertyWhenNotValidConfigurationPropertyName() do?
containsPropertyWhenNotValidConfigurationPropertyName() is a function in the spring-boot codebase.
What does containsPropertyWhenNotValidConfigurationPropertyName() call?
containsPropertyWhenNotValidConfigurationPropertyName() calls 3 function(s): containsProperty, createMockPropertySource, getCount.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free