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

containsPropertyWhenValidConfigurationPropertyName() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  4e06d171_e489_508f_bfdc_c0b5c77d5a26["containsPropertyWhenValidConfigurationPropertyName()"]
  4b0cbf95_105c_735c_52db_6d75ba501b16["createMockPropertySource()"]
  4e06d171_e489_508f_bfdc_c0b5c77d5a26 -->|calls| 4b0cbf95_105c_735c_52db_6d75ba501b16
  2374237a_90c7_0b99_3051_a03dbfe65a2d["containsProperty()"]
  4e06d171_e489_508f_bfdc_c0b5c77d5a26 -->|calls| 2374237a_90c7_0b99_3051_a03dbfe65a2d
  b2e77f3e_609c_d14d_2a57_ef9c62e983d0["getCount()"]
  4e06d171_e489_508f_bfdc_c0b5c77d5a26 -->|calls| b2e77f3e_609c_d14d_2a57_ef9c62e983d0
  style 4e06d171_e489_508f_bfdc_c0b5c77d5a26 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 59–67

	@Test
	void containsPropertyWhenValidConfigurationPropertyName() {
		ResolverEnvironment environment = new ResolverEnvironment();
		CountingMockPropertySource propertySource = createMockPropertySource(environment, true);
		assertThat(environment.containsProperty("spring")).isTrue();
		assertThat(environment.containsProperty("sprong")).isFalse();
		assertThat(propertySource.getCount("spring")).isOne();
		assertThat(propertySource.getCount("sprong")).isOne();
	}

Domain

Subdomains

Frequently Asked Questions

What does containsPropertyWhenValidConfigurationPropertyName() do?
containsPropertyWhenValidConfigurationPropertyName() is a function in the spring-boot codebase.
What does containsPropertyWhenValidConfigurationPropertyName() call?
containsPropertyWhenValidConfigurationPropertyName() 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