bindWhenMapParametersWithEmptyDefaultValueShouldReturnEmptyInstance() — spring-boot Function Reference
Architecture documentation for the bindWhenMapParametersWithEmptyDefaultValueShouldReturnEmptyInstance() function in ValueObjectBinderTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 99c40517_fee1_f1d8_d29b_c948b33919e1["bindWhenMapParametersWithEmptyDefaultValueShouldReturnEmptyInstance()"] 76576a77_87f7_3680_8561_2923813db3c1["of()"] 99c40517_fee1_f1d8_d29b_c948b33919e1 -->|calls| 76576a77_87f7_3680_8561_2923813db3c1 723faf45_147b_9b0f_f957_9de88f8cbb17["isEmpty()"] 99c40517_fee1_f1d8_d29b_c948b33919e1 -->|calls| 723faf45_147b_9b0f_f957_9de88f8cbb17 1d5753c9_98dd_bb26_71e1_4c1c36635d7b["getMapValue()"] 99c40517_fee1_f1d8_d29b_c948b33919e1 -->|calls| 1d5753c9_98dd_bb26_71e1_4c1c36635d7b style 99c40517_fee1_f1d8_d29b_c948b33919e1 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 302–307
@Test
void bindWhenMapParametersWithEmptyDefaultValueShouldReturnEmptyInstance() {
NestedConstructorBeanWithEmptyDefaultValueForMapTypes bound = this.binder.bindOrCreate("foo",
Bindable.of(NestedConstructorBeanWithEmptyDefaultValueForMapTypes.class));
assertThat(bound.getMapValue()).isEmpty();
}
Domain
Subdomains
Source
Frequently Asked Questions
What does bindWhenMapParametersWithEmptyDefaultValueShouldReturnEmptyInstance() do?
bindWhenMapParametersWithEmptyDefaultValueShouldReturnEmptyInstance() is a function in the spring-boot codebase.
What does bindWhenMapParametersWithEmptyDefaultValueShouldReturnEmptyInstance() call?
bindWhenMapParametersWithEmptyDefaultValueShouldReturnEmptyInstance() calls 3 function(s): getMapValue, isEmpty, of.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free