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

bindWhenEnumMapParametersWithEmptyDefaultValueShouldReturnEmptyInstance() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  ced010aa_ca6e_5b52_e712_67f0da2593fe["bindWhenEnumMapParametersWithEmptyDefaultValueShouldReturnEmptyInstance()"]
  76576a77_87f7_3680_8561_2923813db3c1["of()"]
  ced010aa_ca6e_5b52_e712_67f0da2593fe -->|calls| 76576a77_87f7_3680_8561_2923813db3c1
  723faf45_147b_9b0f_f957_9de88f8cbb17["isEmpty()"]
  ced010aa_ca6e_5b52_e712_67f0da2593fe -->|calls| 723faf45_147b_9b0f_f957_9de88f8cbb17
  1d5753c9_98dd_bb26_71e1_4c1c36635d7b["getMapValue()"]
  ced010aa_ca6e_5b52_e712_67f0da2593fe -->|calls| 1d5753c9_98dd_bb26_71e1_4c1c36635d7b
  style ced010aa_ca6e_5b52_e712_67f0da2593fe 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 309–314

	@Test
	void bindWhenEnumMapParametersWithEmptyDefaultValueShouldReturnEmptyInstance() {
		NestedConstructorBeanWithEmptyDefaultValueForEnumMapTypes bound = this.binder.bindOrCreate("foo",
				Bindable.of(NestedConstructorBeanWithEmptyDefaultValueForEnumMapTypes.class));
		assertThat(bound.getMapValue()).isEmpty();
	}

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free