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

bindShouldBindWithoutHandler() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  de6f7174_6a93_5283_5810_425db6f8b951["bindShouldBindWithoutHandler()"]
  7ed947bf_22a1_2781_a2ae_759aa1907445["add()"]
  de6f7174_6a93_5283_5810_425db6f8b951 -->|calls| 7ed947bf_22a1_2781_a2ae_759aa1907445
  dec6e978_683d_a8e4_7ae5_e3e729d3253e["MockConfigurationPropertySource()"]
  de6f7174_6a93_5283_5810_425db6f8b951 -->|calls| dec6e978_683d_a8e4_7ae5_e3e729d3253e
  8297d150_846a_4cc4_47ca_e6d5a70497f3["bind()"]
  de6f7174_6a93_5283_5810_425db6f8b951 -->|calls| 8297d150_846a_4cc4_47ca_e6d5a70497f3
  19a274bb_d9c7_a72c_7ab7_6a36d8c8fa78["of()"]
  de6f7174_6a93_5283_5810_425db6f8b951 -->|calls| 19a274bb_d9c7_a72c_7ab7_6a36d8c8fa78
  27357c30_08b2_1edd_a0b3_3b72d34367f2["get()"]
  de6f7174_6a93_5283_5810_425db6f8b951 -->|calls| 27357c30_08b2_1edd_a0b3_3b72d34367f2
  3977af65_3aaa_d71f_7d79_cb2139ce89f2["getAge()"]
  de6f7174_6a93_5283_5810_425db6f8b951 -->|calls| 3977af65_3aaa_d71f_7d79_cb2139ce89f2
  style de6f7174_6a93_5283_5810_425db6f8b951 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 80–85

	@Test
	void bindShouldBindWithoutHandler() {
		this.sources.add(new MockConfigurationPropertySource("foo.age", 4));
		ExampleValidatedBean bean = this.binder.bind("foo", Bindable.of(ExampleValidatedBean.class)).get();
		assertThat(bean.getAge()).isEqualTo(4);
	}

Domain

Subdomains

Frequently Asked Questions

What does bindShouldBindWithoutHandler() do?
bindShouldBindWithoutHandler() is a function in the spring-boot codebase.
What does bindShouldBindWithoutHandler() call?
bindShouldBindWithoutHandler() calls 6 function(s): MockConfigurationPropertySource, add, bind, get, getAge, of.

Analyze Your Own Codebase

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

Try Supermodel Free