bindShouldValidateNestedProperties() — spring-boot Function Reference
Architecture documentation for the bindShouldValidateNestedProperties() function in ValidationBindHandlerTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 70551920_d242_ddde_6354_8b602c67f8a5["bindShouldValidateNestedProperties()"] 7ed947bf_22a1_2781_a2ae_759aa1907445["add()"] 70551920_d242_ddde_6354_8b602c67f8a5 -->|calls| 7ed947bf_22a1_2781_a2ae_759aa1907445 dec6e978_683d_a8e4_7ae5_e3e729d3253e["MockConfigurationPropertySource()"] 70551920_d242_ddde_6354_8b602c67f8a5 -->|calls| dec6e978_683d_a8e4_7ae5_e3e729d3253e 8297d150_846a_4cc4_47ca_e6d5a70497f3["bind()"] 70551920_d242_ddde_6354_8b602c67f8a5 -->|calls| 8297d150_846a_4cc4_47ca_e6d5a70497f3 19a274bb_d9c7_a72c_7ab7_6a36d8c8fa78["of()"] 70551920_d242_ddde_6354_8b602c67f8a5 -->|calls| 19a274bb_d9c7_a72c_7ab7_6a36d8c8fa78 style 70551920_d242_ddde_6354_8b602c67f8a5 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/context/properties/bind/validation/ValidationBindHandlerTests.java lines 95–101
@Test
void bindShouldValidateNestedProperties() {
this.sources.add(new MockConfigurationPropertySource("foo.nested.age", 4));
assertThatExceptionOfType(BindException.class)
.isThrownBy(() -> this.binder.bind("foo", Bindable.of(ExampleValidatedWithNestedBean.class), this.handler))
.withCauseInstanceOf(BindValidationException.class);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does bindShouldValidateNestedProperties() do?
bindShouldValidateNestedProperties() is a function in the spring-boot codebase.
What does bindShouldValidateNestedProperties() call?
bindShouldValidateNestedProperties() calls 4 function(s): MockConfigurationPropertySource, add, bind, of.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free