Home / Function/ mockBindHandler() — spring-boot Function Reference

mockBindHandler() — spring-boot Function Reference

Architecture documentation for the mockBindHandler() function in ArrayBinderTests.java from the spring-boot codebase.

Function java GradlePlugin AotProcessing calls 1 called by 2

Entity Profile

Dependency Diagram

graph TD
  69e773e6_1063_7cf5_f470_133a01c94dc9["mockBindHandler()"]
  a645ab28_85d4_0bde_7aee_e8deaa411d26["bindToCollectionShouldTriggerOnSuccess()"]
  a645ab28_85d4_0bde_7aee_e8deaa411d26 -->|calls| 69e773e6_1063_7cf5_f470_133a01c94dc9
  6055cd7c_2476_d1f0_61c8_320201743d34["bindToArrayShouldTriggerOnSuccess()"]
  6055cd7c_2476_d1f0_61c8_320201743d34 -->|calls| 69e773e6_1063_7cf5_f470_133a01c94dc9
  fe365846_35b7_e2af_cb05_2c18345627a1["index()"]
  69e773e6_1063_7cf5_f470_133a01c94dc9 -->|calls| fe365846_35b7_e2af_cb05_2c18345627a1
  style 69e773e6_1063_7cf5_f470_133a01c94dc9 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/context/properties/bind/ArrayBinderTests.java lines 292–298

	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()

Frequently Asked Questions

What does mockBindHandler() do?
mockBindHandler() is a function in the spring-boot codebase.
What does mockBindHandler() call?
mockBindHandler() calls 1 function(s): index.
What calls mockBindHandler()?
mockBindHandler() is called by 2 function(s): bindToArrayShouldTriggerOnSuccess, bindToCollectionShouldTriggerOnSuccess.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free