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

bindToBeanWithExceptionInGetterForExistingValue() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  9fc202b7_13e9_f3f1_1df0_d6daae181adc["bindToBeanWithExceptionInGetterForExistingValue()"]
  dec6e978_683d_a8e4_7ae5_e3e729d3253e["MockConfigurationPropertySource()"]
  9fc202b7_13e9_f3f1_1df0_d6daae181adc -->|calls| dec6e978_683d_a8e4_7ae5_e3e729d3253e
  7ed947bf_22a1_2781_a2ae_759aa1907445["add()"]
  9fc202b7_13e9_f3f1_1df0_d6daae181adc -->|calls| 7ed947bf_22a1_2781_a2ae_759aa1907445
  76576a77_87f7_3680_8561_2923813db3c1["of()"]
  9fc202b7_13e9_f3f1_1df0_d6daae181adc -->|calls| 76576a77_87f7_3680_8561_2923813db3c1
  d7626b8d_946e_609d_ccf0_ffbf47d8df9a["get()"]
  9fc202b7_13e9_f3f1_1df0_d6daae181adc -->|calls| d7626b8d_946e_609d_ccf0_ffbf47d8df9a
  b372fe6e_23b3_d06f_ee41_dc005185d6bd["getValues()"]
  9fc202b7_13e9_f3f1_1df0_d6daae181adc -->|calls| b372fe6e_23b3_d06f_ee41_dc005185d6bd
  4fef258c_a2a4_d498_7bd8_31a7595265f6["put()"]
  9fc202b7_13e9_f3f1_1df0_d6daae181adc -->|calls| 4fef258c_a2a4_d498_7bd8_31a7595265f6
  style 9fc202b7_13e9_f3f1_1df0_d6daae181adc 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 608–615

	@Test
	void bindToBeanWithExceptionInGetterForExistingValue() {
		MockConfigurationPropertySource source = new MockConfigurationPropertySource();
		source.put("foo.values.a", "b");
		this.sources.add(source);
		BeanWithGetterException result = this.binder.bind("foo", Bindable.of(BeanWithGetterException.class)).get();
		assertThat(result.getValues()).containsExactly(entry("a", "b"));
	}

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free