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

loadWhenConstructorUsedInNestedPropertyAndNotAsConstructorBinding() — spring-boot Function Reference

Architecture documentation for the loadWhenConstructorUsedInNestedPropertyAndNotAsConstructorBinding() function in ConfigurationPropertiesTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  f4d77417_505b_aea0_a6d5_20a6947d02c5["loadWhenConstructorUsedInNestedPropertyAndNotAsConstructorBinding()"]
  05d207ba_cdfc_1f3b_359f_89b70a0aec4e["load()"]
  f4d77417_505b_aea0_a6d5_20a6947d02c5 -->|calls| 05d207ba_cdfc_1f3b_359f_89b70a0aec4e
  0df7b061_011e_9168_7210_507cd83a1019["getOne()"]
  f4d77417_505b_aea0_a6d5_20a6947d02c5 -->|calls| 0df7b061_011e_9168_7210_507cd83a1019
  c19839ce_f714_7dfb_4b51_028045c23e05["getTwo()"]
  f4d77417_505b_aea0_a6d5_20a6947d02c5 -->|calls| c19839ce_f714_7dfb_4b51_028045c23e05
  style f4d77417_505b_aea0_a6d5_20a6947d02c5 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/context/properties/ConfigurationPropertiesTests.java lines 1284–1290

	@Test // gh-33409
	void loadWhenConstructorUsedInNestedPropertyAndNotAsConstructorBinding() {
		load(ConstructorUsedInNestedPropertyConfiguration.class, "test.nested.two=bound-2");
		ConstructorUsedInNestedProperty bean = this.context.getBean(ConstructorUsedInNestedProperty.class);
		assertThat(bean.getNested().getOne()).isEqualTo("nested-1");
		assertThat(bean.getNested().getTwo()).isEqualTo("bound-2");
	}

Domain

Subdomains

Frequently Asked Questions

What does loadWhenConstructorUsedInNestedPropertyAndNotAsConstructorBinding() do?
loadWhenConstructorUsedInNestedPropertyAndNotAsConstructorBinding() is a function in the spring-boot codebase.
What does loadWhenConstructorUsedInNestedPropertyAndNotAsConstructorBinding() call?
loadWhenConstructorUsedInNestedPropertyAndNotAsConstructorBinding() calls 3 function(s): getOne, getTwo, load.

Analyze Your Own Codebase

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

Try Supermodel Free