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

bindShouldNotValidateDepthGreaterThanZero() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  dc9a3c31_dbc6_3eeb_b95e_77d61ffcacc2["bindShouldNotValidateDepthGreaterThanZero()"]
  dec6e978_683d_a8e4_7ae5_e3e729d3253e["MockConfigurationPropertySource()"]
  dc9a3c31_dbc6_3eeb_b95e_77d61ffcacc2 -->|calls| dec6e978_683d_a8e4_7ae5_e3e729d3253e
  725e97d2_341b_6665_84bc_9206c7185c54["put()"]
  dc9a3c31_dbc6_3eeb_b95e_77d61ffcacc2 -->|calls| 725e97d2_341b_6665_84bc_9206c7185c54
  7ed947bf_22a1_2781_a2ae_759aa1907445["add()"]
  dc9a3c31_dbc6_3eeb_b95e_77d61ffcacc2 -->|calls| 7ed947bf_22a1_2781_a2ae_759aa1907445
  8297d150_846a_4cc4_47ca_e6d5a70497f3["bind()"]
  dc9a3c31_dbc6_3eeb_b95e_77d61ffcacc2 -->|calls| 8297d150_846a_4cc4_47ca_e6d5a70497f3
  9585934b_b9d5_0a5e_94c7_a4344f67965b["withExistingValue()"]
  dc9a3c31_dbc6_3eeb_b95e_77d61ffcacc2 -->|calls| 9585934b_b9d5_0a5e_94c7_a4344f67965b
  19a274bb_d9c7_a72c_7ab7_6a36d8c8fa78["of()"]
  dc9a3c31_dbc6_3eeb_b95e_77d61ffcacc2 -->|calls| 19a274bb_d9c7_a72c_7ab7_6a36d8c8fa78
  style dc9a3c31_dbc6_3eeb_b95e_77d61ffcacc2 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 153–163

	@Test
	void bindShouldNotValidateDepthGreaterThanZero() {
		// gh-12227
		MockConfigurationPropertySource source = new MockConfigurationPropertySource();
		source.put("foo.bar", "baz");
		this.sources.add(source);
		ExampleValidatedBeanWithGetterException existingValue = new ExampleValidatedBeanWithGetterException();
		this.binder.bind(ConfigurationPropertyName.of("foo"),
				Bindable.of(ExampleValidatedBeanWithGetterException.class).withExistingValue(existingValue),
				this.handler);
	}

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free