createWithDefaultValuesShouldReturnCreatedWithDefaultValues() — spring-boot Function Reference
Architecture documentation for the createWithDefaultValuesShouldReturnCreatedWithDefaultValues() function in ValueObjectBinderTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 6e87987e_b752_d159_4f53_109fddbe7e9b["createWithDefaultValuesShouldReturnCreatedWithDefaultValues()"] 76576a77_87f7_3680_8561_2923813db3c1["of()"] 6e87987e_b752_d159_4f53_109fddbe7e9b -->|calls| 76576a77_87f7_3680_8561_2923813db3c1 31a3fbb9_ea33_2daa_a546_1be46d4a60c1["getStringsList()"] 6e87987e_b752_d159_4f53_109fddbe7e9b -->|calls| 31a3fbb9_ea33_2daa_a546_1be46d4a60c1 5311fd6c_7118_5979_57c0_40e641439d75["getCustomList()"] 6e87987e_b752_d159_4f53_109fddbe7e9b -->|calls| 5311fd6c_7118_5979_57c0_40e641439d75 b7876815_7efe_6ccb_7199_b592e0b62e2a["getIntValue()"] 6e87987e_b752_d159_4f53_109fddbe7e9b -->|calls| b7876815_7efe_6ccb_7199_b592e0b62e2a style 6e87987e_b752_d159_4f53_109fddbe7e9b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/context/properties/bind/ValueObjectBinderTests.java lines 240–246
@Test
void createWithDefaultValuesShouldReturnCreatedWithDefaultValues() {
ExampleDefaultValueBean value = this.binder.bindOrCreate("foo", Bindable.of(ExampleDefaultValueBean.class));
assertThat(value.getIntValue()).isEqualTo(5);
assertThat(value.getStringsList()).containsOnly("a", "b", "c");
assertThat(value.getCustomList()).containsOnly("x,y,z");
}
Domain
Subdomains
Calls
- getCustomList()
- getIntValue()
- getStringsList()
- of()
Source
Frequently Asked Questions
What does createWithDefaultValuesShouldReturnCreatedWithDefaultValues() do?
createWithDefaultValuesShouldReturnCreatedWithDefaultValues() is a function in the spring-boot codebase.
What does createWithDefaultValuesShouldReturnCreatedWithDefaultValues() call?
createWithDefaultValuesShouldReturnCreatedWithDefaultValues() calls 4 function(s): getCustomList, getIntValue, getStringsList, of.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free