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