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

bindWhenParametersWithDefaultValueShouldReturnNonNullValues() — spring-boot Function Reference

Architecture documentation for the bindWhenParametersWithDefaultValueShouldReturnNonNullValues() function in ValueObjectBinderTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  8f0b410e_fe8a_7856_9954_1e1edb5f0c80["bindWhenParametersWithDefaultValueShouldReturnNonNullValues()"]
  76576a77_87f7_3680_8561_2923813db3c1["of()"]
  8f0b410e_fe8a_7856_9954_1e1edb5f0c80 -->|calls| 76576a77_87f7_3680_8561_2923813db3c1
  c889eac1_b682_0787_faf3_46df5887a6b3["getNestedImmutable()"]
  8f0b410e_fe8a_7856_9954_1e1edb5f0c80 -->|calls| c889eac1_b682_0787_faf3_46df5887a6b3
  38606b45_a4c3_33c2_b364_6738f0c36370["getNestedJavaBean()"]
  8f0b410e_fe8a_7856_9954_1e1edb5f0c80 -->|calls| 38606b45_a4c3_33c2_b364_6738f0c36370
  f29523b1_8d82_1a94_0bc6_7a00b3821161["getFoo()"]
  8f0b410e_fe8a_7856_9954_1e1edb5f0c80 -->|calls| f29523b1_8d82_1a94_0bc6_7a00b3821161
  style 8f0b410e_fe8a_7856_9954_1e1edb5f0c80 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/context/properties/bind/ValueObjectBinderTests.java lines 279–285

	@Test
	void bindWhenParametersWithDefaultValueShouldReturnNonNullValues() {
		NestedConstructorBeanWithDefaultValue bound = this.binder.bindOrCreate("foo",
				Bindable.of(NestedConstructorBeanWithDefaultValue.class));
		assertThat(bound.getNestedImmutable().getFoo()).isEqualTo("hello");
		assertThat(bound.getNestedJavaBean()).isNotNull();
	}

Domain

Subdomains

Calls

Frequently Asked Questions

What does bindWhenParametersWithDefaultValueShouldReturnNonNullValues() do?
bindWhenParametersWithDefaultValueShouldReturnNonNullValues() is a function in the spring-boot codebase.
What does bindWhenParametersWithDefaultValueShouldReturnNonNullValues() call?
bindWhenParametersWithDefaultValueShouldReturnNonNullValues() calls 4 function(s): getFoo, getNestedImmutable, getNestedJavaBean, of.

Analyze Your Own Codebase

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

Try Supermodel Free