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

bindToMapStringArrayWithDotKeysAndCommaSeparatedShouldPreserveDot() — spring-boot Function Reference

Architecture documentation for the bindToMapStringArrayWithDotKeysAndCommaSeparatedShouldPreserveDot() function in MapBinderTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  eef2dc7b_2898_aeac_773c_ae1447f2bb63["bindToMapStringArrayWithDotKeysAndCommaSeparatedShouldPreserveDot()"]
  dec6e978_683d_a8e4_7ae5_e3e729d3253e["MockConfigurationPropertySource()"]
  eef2dc7b_2898_aeac_773c_ae1447f2bb63 -->|calls| dec6e978_683d_a8e4_7ae5_e3e729d3253e
  7ed947bf_22a1_2781_a2ae_759aa1907445["add()"]
  eef2dc7b_2898_aeac_773c_ae1447f2bb63 -->|calls| 7ed947bf_22a1_2781_a2ae_759aa1907445
  d7626b8d_946e_609d_ccf0_ffbf47d8df9a["get()"]
  eef2dc7b_2898_aeac_773c_ae1447f2bb63 -->|calls| d7626b8d_946e_609d_ccf0_ffbf47d8df9a
  4fef258c_a2a4_d498_7bd8_31a7595265f6["put()"]
  eef2dc7b_2898_aeac_773c_ae1447f2bb63 -->|calls| 4fef258c_a2a4_d498_7bd8_31a7595265f6
  style eef2dc7b_2898_aeac_773c_ae1447f2bb63 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/context/properties/bind/MapBinderTests.java lines 409–416

	@Test
	void bindToMapStringArrayWithDotKeysAndCommaSeparatedShouldPreserveDot() {
		MockConfigurationPropertySource mockSource = new MockConfigurationPropertySource();
		mockSource.put("foo.bar.baz", "a,b,c");
		this.sources.add(mockSource);
		Map<String, String[]> map = this.binder.bind("foo", STRING_ARRAY_MAP).get();
		assertThat(map.get("bar.baz")).containsExactly("a", "b", "c");
	}

Domain

Subdomains

Frequently Asked Questions

What does bindToMapStringArrayWithDotKeysAndCommaSeparatedShouldPreserveDot() do?
bindToMapStringArrayWithDotKeysAndCommaSeparatedShouldPreserveDot() is a function in the spring-boot codebase.
What does bindToMapStringArrayWithDotKeysAndCommaSeparatedShouldPreserveDot() call?
bindToMapStringArrayWithDotKeysAndCommaSeparatedShouldPreserveDot() calls 4 function(s): MockConfigurationPropertySource, add, get, put.

Analyze Your Own Codebase

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

Try Supermodel Free