getPropertyWhenNotValidConfigurationPropertyName() — spring-boot Function Reference
Architecture documentation for the getPropertyWhenNotValidConfigurationPropertyName() function in ConfigurationPropertySourcesPropertyResolverTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 991f9f4e_2784_ea2e_7b8d_eee13508c2d6["getPropertyWhenNotValidConfigurationPropertyName()"] 4b0cbf95_105c_735c_52db_6d75ba501b16["createMockPropertySource()"] 991f9f4e_2784_ea2e_7b8d_eee13508c2d6 -->|calls| 4b0cbf95_105c_735c_52db_6d75ba501b16 939a6a16_a09a_0762_6ee9_ff1d628c537f["getProperty()"] 991f9f4e_2784_ea2e_7b8d_eee13508c2d6 -->|calls| 939a6a16_a09a_0762_6ee9_ff1d628c537f b2e77f3e_609c_d14d_2a57_ef9c62e983d0["getCount()"] 991f9f4e_2784_ea2e_7b8d_eee13508c2d6 -->|calls| b2e77f3e_609c_d14d_2a57_ef9c62e983d0 style 991f9f4e_2784_ea2e_7b8d_eee13508c2d6 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 89–97
@Test
void getPropertyWhenNotValidConfigurationPropertyName() {
ResolverEnvironment environment = new ResolverEnvironment();
CountingMockPropertySource propertySource = createMockPropertySource(environment, true);
assertThat(environment.getProperty("spr!ng")).isEqualTo("boot");
assertThat(environment.getProperty("spr*ng")).isNull();
assertThat(propertySource.getCount("spr!ng")).isOne();
assertThat(propertySource.getCount("spr*ng")).isOne();
}
Domain
Subdomains
Source
Frequently Asked Questions
What does getPropertyWhenNotValidConfigurationPropertyName() do?
getPropertyWhenNotValidConfigurationPropertyName() is a function in the spring-boot codebase.
What does getPropertyWhenNotValidConfigurationPropertyName() call?
getPropertyWhenNotValidConfigurationPropertyName() calls 3 function(s): createMockPropertySource, getCount, getProperty.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free