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

loadShouldBindToMapWithNumericKey() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  ed85a5d1_b6ec_291b_abd6_65ca6b212ddb["loadShouldBindToMapWithNumericKey()"]
  d7626b8d_946e_609d_ccf0_ffbf47d8df9a["get()"]
  ed85a5d1_b6ec_291b_abd6_65ca6b212ddb -->|calls| d7626b8d_946e_609d_ccf0_ffbf47d8df9a
  05d207ba_cdfc_1f3b_359f_89b70a0aec4e["load()"]
  ed85a5d1_b6ec_291b_abd6_65ca6b212ddb -->|calls| 05d207ba_cdfc_1f3b_359f_89b70a0aec4e
  9cc5e107_0f47_5f50_d2b2_247a904acf35["getProperties()"]
  ed85a5d1_b6ec_291b_abd6_65ca6b212ddb -->|calls| 9cc5e107_0f47_5f50_d2b2_247a904acf35
  style ed85a5d1_b6ec_291b_abd6_65ca6b212ddb fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

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

	@Test
	void loadShouldBindToMapWithNumericKey() {
		load(MapWithNumericKeyProperties.class, "sample.properties.1.name=One");
		MapWithNumericKeyProperties bean = this.context.getBean(MapWithNumericKeyProperties.class);
		BasicProperties one = bean.getProperties().get("1");
		assertThat(one).isNotNull();
		assertThat(one.name).isEqualTo("One");
	}

Domain

Subdomains

Calls

Frequently Asked Questions

What does loadShouldBindToMapWithNumericKey() do?
loadShouldBindToMapWithNumericKey() is a function in the spring-boot codebase.
What does loadShouldBindToMapWithNumericKey() call?
loadShouldBindToMapWithNumericKey() calls 3 function(s): get, getProperties, load.

Analyze Your Own Codebase

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

Try Supermodel Free