getPropertyWhenNotAttached() — spring-boot Function Reference
Architecture documentation for the getPropertyWhenNotAttached() function in ConfigurationPropertySourcesPropertyResolverTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD dc5cf04b_34b8_79ce_0c3c_15dbda7f7b38["getPropertyWhenNotAttached()"] 4b0cbf95_105c_735c_52db_6d75ba501b16["createMockPropertySource()"] dc5cf04b_34b8_79ce_0c3c_15dbda7f7b38 -->|calls| 4b0cbf95_105c_735c_52db_6d75ba501b16 939a6a16_a09a_0762_6ee9_ff1d628c537f["getProperty()"] dc5cf04b_34b8_79ce_0c3c_15dbda7f7b38 -->|calls| 939a6a16_a09a_0762_6ee9_ff1d628c537f b2e77f3e_609c_d14d_2a57_ef9c62e983d0["getCount()"] dc5cf04b_34b8_79ce_0c3c_15dbda7f7b38 -->|calls| b2e77f3e_609c_d14d_2a57_ef9c62e983d0 style dc5cf04b_34b8_79ce_0c3c_15dbda7f7b38 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 99–107
@Test
void getPropertyWhenNotAttached() {
ResolverEnvironment environment = new ResolverEnvironment();
CountingMockPropertySource propertySource = createMockPropertySource(environment, false);
assertThat(environment.getProperty("spring")).isEqualTo("boot");
assertThat(environment.getProperty("sprong")).isNull();
assertThat(propertySource.getCount("spring")).isOne();
assertThat(propertySource.getCount("sprong")).isOne();
}
Domain
Subdomains
Source
Frequently Asked Questions
What does getPropertyWhenNotAttached() do?
getPropertyWhenNotAttached() is a function in the spring-boot codebase.
What does getPropertyWhenNotAttached() call?
getPropertyWhenNotAttached() 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