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

bindShouldNotValidateIfOtherHandlersInChainThrowError() — spring-boot Function Reference

Architecture documentation for the bindShouldNotValidateIfOtherHandlersInChainThrowError() function in ValidationBindHandlerTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  71f3a73f_15bd_7298_a0b7_9f70f1979709["bindShouldNotValidateIfOtherHandlersInChainThrowError()"]
  7ed947bf_22a1_2781_a2ae_759aa1907445["add()"]
  71f3a73f_15bd_7298_a0b7_9f70f1979709 -->|calls| 7ed947bf_22a1_2781_a2ae_759aa1907445
  dec6e978_683d_a8e4_7ae5_e3e729d3253e["MockConfigurationPropertySource()"]
  71f3a73f_15bd_7298_a0b7_9f70f1979709 -->|calls| dec6e978_683d_a8e4_7ae5_e3e729d3253e
  8297d150_846a_4cc4_47ca_e6d5a70497f3["bind()"]
  71f3a73f_15bd_7298_a0b7_9f70f1979709 -->|calls| 8297d150_846a_4cc4_47ca_e6d5a70497f3
  9585934b_b9d5_0a5e_94c7_a4344f67965b["withExistingValue()"]
  71f3a73f_15bd_7298_a0b7_9f70f1979709 -->|calls| 9585934b_b9d5_0a5e_94c7_a4344f67965b
  19a274bb_d9c7_a72c_7ab7_6a36d8c8fa78["of()"]
  71f3a73f_15bd_7298_a0b7_9f70f1979709 -->|calls| 19a274bb_d9c7_a72c_7ab7_6a36d8c8fa78
  style 71f3a73f_15bd_7298_a0b7_9f70f1979709 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 165–173

	@Test
	void bindShouldNotValidateIfOtherHandlersInChainThrowError() {
		this.sources.add(new MockConfigurationPropertySource("foo", "hello"));
		ExampleValidatedBean bean = new ExampleValidatedBean();
		assertThatExceptionOfType(BindException.class)
			.isThrownBy(() -> this.binder.bind("foo", Bindable.of(ExampleValidatedBean.class).withExistingValue(bean),
					this.handler))
			.withCauseInstanceOf(ConverterNotFoundException.class);
	}

Domain

Subdomains

Frequently Asked Questions

What does bindShouldNotValidateIfOtherHandlersInChainThrowError() do?
bindShouldNotValidateIfOtherHandlersInChainThrowError() is a function in the spring-boot codebase.
What does bindShouldNotValidateIfOtherHandlersInChainThrowError() call?
bindShouldNotValidateIfOtherHandlersInChainThrowError() calls 5 function(s): MockConfigurationPropertySource, add, bind, of, withExistingValue.

Analyze Your Own Codebase

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

Try Supermodel Free