bindShouldValidateWithoutAnnotation() — spring-boot Function Reference
Architecture documentation for the bindShouldValidateWithoutAnnotation() function in ValidationBindHandlerTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD ad0142e5_2e6d_d36f_a8f6_3c99298ba8c0["bindShouldValidateWithoutAnnotation()"] 0f6888bd_415c_a046_17eb_844b4cf7637e["bindAndExpectValidationError()"] ad0142e5_2e6d_d36f_a8f6_3c99298ba8c0 -->|calls| 0f6888bd_415c_a046_17eb_844b4cf7637e 8297d150_846a_4cc4_47ca_e6d5a70497f3["bind()"] ad0142e5_2e6d_d36f_a8f6_3c99298ba8c0 -->|calls| 8297d150_846a_4cc4_47ca_e6d5a70497f3 9585934b_b9d5_0a5e_94c7_a4344f67965b["withExistingValue()"] ad0142e5_2e6d_d36f_a8f6_3c99298ba8c0 -->|calls| 9585934b_b9d5_0a5e_94c7_a4344f67965b 19a274bb_d9c7_a72c_7ab7_6a36d8c8fa78["of()"] ad0142e5_2e6d_d36f_a8f6_3c99298ba8c0 -->|calls| 19a274bb_d9c7_a72c_7ab7_6a36d8c8fa78 style ad0142e5_2e6d_d36f_a8f6_3c99298ba8c0 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 146–151
@Test
void bindShouldValidateWithoutAnnotation() {
ExampleNonValidatedBean existingValue = new ExampleNonValidatedBean();
bindAndExpectValidationError(() -> this.binder.bind(ConfigurationPropertyName.of("foo"),
Bindable.of(ExampleNonValidatedBean.class).withExistingValue(existingValue), this.handler));
}
Domain
Subdomains
Source
Frequently Asked Questions
What does bindShouldValidateWithoutAnnotation() do?
bindShouldValidateWithoutAnnotation() is a function in the spring-boot codebase.
What does bindShouldValidateWithoutAnnotation() call?
bindShouldValidateWithoutAnnotation() calls 4 function(s): bind, bindAndExpectValidationError, of, withExistingValue.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free