bindWhenBindingToPathTypeWithDefaultValue() — spring-boot Function Reference
Architecture documentation for the bindWhenBindingToPathTypeWithDefaultValue() function in ValueObjectBinderTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 8cba3c2b_f919_4328_3e89_7d10dc306817["bindWhenBindingToPathTypeWithDefaultValue()"] dec6e978_683d_a8e4_7ae5_e3e729d3253e["MockConfigurationPropertySource()"] 8cba3c2b_f919_4328_3e89_7d10dc306817 -->|calls| dec6e978_683d_a8e4_7ae5_e3e729d3253e 725e97d2_341b_6665_84bc_9206c7185c54["put()"] 8cba3c2b_f919_4328_3e89_7d10dc306817 -->|calls| 725e97d2_341b_6665_84bc_9206c7185c54 7ed947bf_22a1_2781_a2ae_759aa1907445["add()"] 8cba3c2b_f919_4328_3e89_7d10dc306817 -->|calls| 7ed947bf_22a1_2781_a2ae_759aa1907445 76576a77_87f7_3680_8561_2923813db3c1["of()"] 8cba3c2b_f919_4328_3e89_7d10dc306817 -->|calls| 76576a77_87f7_3680_8561_2923813db3c1 7ae40bef_765b_b3b8_b4c1_5a21ba3eef33["getPath()"] 8cba3c2b_f919_4328_3e89_7d10dc306817 -->|calls| 7ae40bef_765b_b3b8_b4c1_5a21ba3eef33 d7626b8d_946e_609d_ccf0_ffbf47d8df9a["get()"] 8cba3c2b_f919_4328_3e89_7d10dc306817 -->|calls| d7626b8d_946e_609d_ccf0_ffbf47d8df9a 7c7b5a6c_954c_db40_daf8_0388f7807f46["getName()"] 8cba3c2b_f919_4328_3e89_7d10dc306817 -->|calls| 7c7b5a6c_954c_db40_daf8_0388f7807f46 style 8cba3c2b_f919_4328_3e89_7d10dc306817 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/context/properties/bind/ValueObjectBinderTests.java lines 378–387
@Test
void bindWhenBindingToPathTypeWithDefaultValue() { // gh-21263
MockConfigurationPropertySource source = new MockConfigurationPropertySource();
source.put("test.name", "test");
this.sources.add(source);
Bindable<PathBean> target = Bindable.of(PathBean.class);
PathBean bound = this.binder.bindOrCreate("test", target);
assertThat(bound.getName()).isEqualTo("test");
assertThat(bound.getPath()).isEqualTo(Paths.get("default_value"));
}
Domain
Subdomains
Source
Frequently Asked Questions
What does bindWhenBindingToPathTypeWithDefaultValue() do?
bindWhenBindingToPathTypeWithDefaultValue() is a function in the spring-boot codebase.
What does bindWhenBindingToPathTypeWithDefaultValue() call?
bindWhenBindingToPathTypeWithDefaultValue() calls 7 function(s): MockConfigurationPropertySource, add, get, getName, getPath, of, put.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free