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

bindWhenOptionalParameterWithEmptyDefaultValueShouldReturnEmptyInstance() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  0b9611fe_f923_42b2_dfb9_a29a9a4ad3d1["bindWhenOptionalParameterWithEmptyDefaultValueShouldReturnEmptyInstance()"]
  76576a77_87f7_3680_8561_2923813db3c1["of()"]
  0b9611fe_f923_42b2_dfb9_a29a9a4ad3d1 -->|calls| 76576a77_87f7_3680_8561_2923813db3c1
  097269ae_8271_c9d8_26c3_4e40665283c0["getOptionalValue()"]
  0b9611fe_f923_42b2_dfb9_a29a9a4ad3d1 -->|calls| 097269ae_8271_c9d8_26c3_4e40665283c0
  723faf45_147b_9b0f_f957_9de88f8cbb17["isEmpty()"]
  0b9611fe_f923_42b2_dfb9_a29a9a4ad3d1 -->|calls| 723faf45_147b_9b0f_f957_9de88f8cbb17
  style 0b9611fe_f923_42b2_dfb9_a29a9a4ad3d1 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 323–328

	@Test
	void bindWhenOptionalParameterWithEmptyDefaultValueShouldReturnEmptyInstance() {
		NestedConstructorBeanWithEmptyDefaultValueForOptionalTypes bound = this.binder.bindOrCreate("foo",
				Bindable.of(NestedConstructorBeanWithEmptyDefaultValueForOptionalTypes.class));
		assertThat(bound.getOptionalValue()).isEmpty();
	}

Domain

Subdomains

Calls

Frequently Asked Questions

What does bindWhenOptionalParameterWithEmptyDefaultValueShouldReturnEmptyInstance() do?
bindWhenOptionalParameterWithEmptyDefaultValueShouldReturnEmptyInstance() is a function in the spring-boot codebase.
What does bindWhenOptionalParameterWithEmptyDefaultValueShouldReturnEmptyInstance() call?
bindWhenOptionalParameterWithEmptyDefaultValueShouldReturnEmptyInstance() calls 3 function(s): getOptionalValue, isEmpty, of.

Analyze Your Own Codebase

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

Try Supermodel Free