mockBindHandler() — spring-boot Function Reference
Architecture documentation for the mockBindHandler() function in BinderTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 7afc6ffc_b6bf_f6c5_66da_4faa52da48d0["mockBindHandler()"] 8c452e2b_e610_bb7a_93e9_ed98418f15d0["bindToValueShouldTriggerOnSuccess()"] 8c452e2b_e610_bb7a_93e9_ed98418f15d0 -->|calls| 7afc6ffc_b6bf_f6c5_66da_4faa52da48d0 a5d5dba5_fee8_a2bf_dc7c_6d707785f305["bindToJavaBeanShouldTriggerOnSuccess()"] a5d5dba5_fee8_a2bf_dc7c_6d707785f305 -->|calls| 7afc6ffc_b6bf_f6c5_66da_4faa52da48d0 9717b246_35c4_08d7_1def_e10b4e0ebcfb["bindWhenHasCustomDefaultHandlerShouldTriggerOnSuccess()"] 9717b246_35c4_08d7_1def_e10b4e0ebcfb -->|calls| 7afc6ffc_b6bf_f6c5_66da_4faa52da48d0 a23eaeb6_e000_fe3d_8c7c_34c4ead2fed5["onStart()"] 7afc6ffc_b6bf_f6c5_66da_4faa52da48d0 -->|calls| a23eaeb6_e000_fe3d_8c7c_34c4ead2fed5 6fb41d05_f799_6dd6_a75b_2d6005d9d07b["index()"] 7afc6ffc_b6bf_f6c5_66da_4faa52da48d0 -->|calls| 6fb41d05_f799_6dd6_a75b_2d6005d9d07b 30c012b3_d93d_aee4_6f0c_949990908e4f["onSuccess()"] 7afc6ffc_b6bf_f6c5_66da_4faa52da48d0 -->|calls| 30c012b3_d93d_aee4_6f0c_949990908e4f style 7afc6ffc_b6bf_f6c5_66da_4faa52da48d0 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/context/properties/bind/BinderTests.java lines 371–377
private BindHandler mockBindHandler() {
BindHandler handler = mock(BindHandler.class);
given(handler.onStart(any(), any(), any())).willAnswer(InvocationArgument.index(1));
given(handler.onCreate(any(), any(), any(), any())).willAnswer(InvocationArgument.index(3));
given(handler.onSuccess(any(), any(), any(), any())).willAnswer(InvocationArgument.index(3));
return handler;
}
Domain
Subdomains
Calls
- index()
- onStart()
- onSuccess()
Called By
Source
Frequently Asked Questions
What does mockBindHandler() do?
mockBindHandler() is a function in the spring-boot codebase.
What does mockBindHandler() call?
mockBindHandler() calls 3 function(s): index, onStart, onSuccess.
What calls mockBindHandler()?
mockBindHandler() is called by 3 function(s): bindToJavaBeanShouldTriggerOnSuccess, bindToValueShouldTriggerOnSuccess, bindWhenHasCustomDefaultHandlerShouldTriggerOnSuccess.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free