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