loadWhenBindingToConstructorParametersWithDefaultDataFormatShouldBind() — spring-boot Function Reference
Architecture documentation for the loadWhenBindingToConstructorParametersWithDefaultDataFormatShouldBind() function in ConfigurationPropertiesTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 1b0b6a9d_eeaa_6937_7a43_a8837544812b["loadWhenBindingToConstructorParametersWithDefaultDataFormatShouldBind()"] 05d207ba_cdfc_1f3b_359f_89b70a0aec4e["load()"] 1b0b6a9d_eeaa_6937_7a43_a8837544812b -->|calls| 05d207ba_cdfc_1f3b_359f_89b70a0aec4e 4059dd29_3aaf_f9da_f1e8_24110d1f8475["getPeriod()"] 1b0b6a9d_eeaa_6937_7a43_a8837544812b -->|calls| 4059dd29_3aaf_f9da_f1e8_24110d1f8475 e4022041_263f_a020_4470_e99f5f35c64f["getDuration()"] 1b0b6a9d_eeaa_6937_7a43_a8837544812b -->|calls| e4022041_263f_a020_4470_e99f5f35c64f style 1b0b6a9d_eeaa_6937_7a43_a8837544812b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/context/properties/ConfigurationPropertiesTests.java lines 1065–1072
@Test
void loadWhenBindingToConstructorParametersWithDefaultDataFormatShouldBind() {
load(ConstructorParameterWithFormatConfiguration.class);
ConstructorParameterWithFormatProperties bean = this.context
.getBean(ConstructorParameterWithFormatProperties.class);
assertThat(bean.getDuration()).isEqualTo(Duration.ofDays(2));
assertThat(bean.getPeriod()).isEqualTo(Period.ofYears(3));
}
Domain
Subdomains
Source
Frequently Asked Questions
What does loadWhenBindingToConstructorParametersWithDefaultDataFormatShouldBind() do?
loadWhenBindingToConstructorParametersWithDefaultDataFormatShouldBind() is a function in the spring-boot codebase.
What does loadWhenBindingToConstructorParametersWithDefaultDataFormatShouldBind() call?
loadWhenBindingToConstructorParametersWithDefaultDataFormatShouldBind() calls 3 function(s): getDuration, getPeriod, load.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free