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

bindToBeanWithExceptionInGetterForExistingValue() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  297a9d23_a0d8_88a9_d8b5_30b51fea8b4a["bindToBeanWithExceptionInGetterForExistingValue()"]
  dec6e978_683d_a8e4_7ae5_e3e729d3253e["MockConfigurationPropertySource()"]
  297a9d23_a0d8_88a9_d8b5_30b51fea8b4a -->|calls| dec6e978_683d_a8e4_7ae5_e3e729d3253e
  725e97d2_341b_6665_84bc_9206c7185c54["put()"]
  297a9d23_a0d8_88a9_d8b5_30b51fea8b4a -->|calls| 725e97d2_341b_6665_84bc_9206c7185c54
  f4b76c1c_abdc_fe17_d6c1_88412a0633e7["of()"]
  297a9d23_a0d8_88a9_d8b5_30b51fea8b4a -->|calls| f4b76c1c_abdc_fe17_d6c1_88412a0633e7
  d3f98550_e539_9cdc_2b30_ba7dac7718ee["getValues()"]
  297a9d23_a0d8_88a9_d8b5_30b51fea8b4a -->|calls| d3f98550_e539_9cdc_2b30_ba7dac7718ee
  style 297a9d23_a0d8_88a9_d8b5_30b51fea8b4a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/context/properties/bind/CollectionBinderTests.java lines 462–469

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

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free