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

bindOrCreateWithNestedShouldReturnCreatedValue() — spring-boot Function Reference

Architecture documentation for the bindOrCreateWithNestedShouldReturnCreatedValue() function in JavaBeanBinderTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  903c05a1_a4bd_75ac_f27d_81931c7e1314["bindOrCreateWithNestedShouldReturnCreatedValue()"]
  76576a77_87f7_3680_8561_2923813db3c1["of()"]
  903c05a1_a4bd_75ac_f27d_81931c7e1314 -->|calls| 76576a77_87f7_3680_8561_2923813db3c1
  6a01da78_cebe_7f08_01a1_3448c3f4e437["getBar()"]
  903c05a1_a4bd_75ac_f27d_81931c7e1314 -->|calls| 6a01da78_cebe_7f08_01a1_3448c3f4e437
  47590116_dbee_6c93_9dae_bf52346ec34e["getNested()"]
  903c05a1_a4bd_75ac_f27d_81931c7e1314 -->|calls| 47590116_dbee_6c93_9dae_bf52346ec34e
  style 903c05a1_a4bd_75ac_f27d_81931c7e1314 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/context/properties/bind/JavaBeanBinderTests.java lines 570–574

	@Test
	void bindOrCreateWithNestedShouldReturnCreatedValue() {
		NestedJavaBean result = this.binder.bindOrCreate("foo", Bindable.of(NestedJavaBean.class));
		assertThat(result.getNested().getBar()).isEqualTo(456);
	}

Domain

Subdomains

Frequently Asked Questions

What does bindOrCreateWithNestedShouldReturnCreatedValue() do?
bindOrCreateWithNestedShouldReturnCreatedValue() is a function in the spring-boot codebase.
What does bindOrCreateWithNestedShouldReturnCreatedValue() call?
bindOrCreateWithNestedShouldReturnCreatedValue() calls 3 function(s): getBar, getNested, of.

Analyze Your Own Codebase

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

Try Supermodel Free