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

mockBindHandler() — spring-boot Function Reference

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

Function java GradlePlugin AotProcessing calls 1 called by 2

Entity Profile

Dependency Diagram

graph TD
  ca5e92b6_7135_7485_ffad_0ad6d31ca36d["mockBindHandler()"]
  fd40f338_1918_87e6_eea0_3fd26482b578["bindToMapShouldTriggerOnSuccess()"]
  fd40f338_1918_87e6_eea0_3fd26482b578 -->|calls| ca5e92b6_7135_7485_ffad_0ad6d31ca36d
  a2dfa560_8342_df00_67ec_6d94c9789746["bindToMapStringArrayShouldTriggerOnSuccess()"]
  a2dfa560_8342_df00_67ec_6d94c9789746 -->|calls| ca5e92b6_7135_7485_ffad_0ad6d31ca36d
  f41fb85a_b79d_1f5d_1725_7efe8fab29ca["index()"]
  ca5e92b6_7135_7485_ffad_0ad6d31ca36d -->|calls| f41fb85a_b79d_1f5d_1725_7efe8fab29ca
  style ca5e92b6_7135_7485_ffad_0ad6d31ca36d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/context/properties/bind/MapBinderTests.java lines 677–683

	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): bindToMapShouldTriggerOnSuccess, bindToMapStringArrayShouldTriggerOnSuccess.

Analyze Your Own Codebase

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

Try Supermodel Free