bindToValueShouldTriggerOnSuccess() — spring-boot Function Reference
Architecture documentation for the bindToValueShouldTriggerOnSuccess() function in BinderTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 8c452e2b_e610_bb7a_93e9_ed98418f15d0["bindToValueShouldTriggerOnSuccess()"] 7ed947bf_22a1_2781_a2ae_759aa1907445["add()"] 8c452e2b_e610_bb7a_93e9_ed98418f15d0 -->|calls| 7ed947bf_22a1_2781_a2ae_759aa1907445 dec6e978_683d_a8e4_7ae5_e3e729d3253e["MockConfigurationPropertySource()"] 8c452e2b_e610_bb7a_93e9_ed98418f15d0 -->|calls| dec6e978_683d_a8e4_7ae5_e3e729d3253e 7afc6ffc_b6bf_f6c5_66da_4faa52da48d0["mockBindHandler()"] 8c452e2b_e610_bb7a_93e9_ed98418f15d0 -->|calls| 7afc6ffc_b6bf_f6c5_66da_4faa52da48d0 76576a77_87f7_3680_8561_2923813db3c1["of()"] 8c452e2b_e610_bb7a_93e9_ed98418f15d0 -->|calls| 76576a77_87f7_3680_8561_2923813db3c1 30c012b3_d93d_aee4_6f0c_949990908e4f["onSuccess()"] 8c452e2b_e610_bb7a_93e9_ed98418f15d0 -->|calls| 30c012b3_d93d_aee4_6f0c_949990908e4f style 8c452e2b_e610_bb7a_93e9_ed98418f15d0 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/context/properties/bind/BinderTests.java lines 182–190
@Test
void bindToValueShouldTriggerOnSuccess() {
this.sources.add(new MockConfigurationPropertySource("foo", "1", "line1"));
BindHandler handler = mockBindHandler();
Bindable<Integer> target = Bindable.of(Integer.class);
this.binder.bind("foo", target, handler);
InOrder ordered = inOrder(handler);
ordered.verify(handler).onSuccess(eq(ConfigurationPropertyName.of("foo")), eq(target), any(), eq(1));
}
Domain
Subdomains
Source
Frequently Asked Questions
What does bindToValueShouldTriggerOnSuccess() do?
bindToValueShouldTriggerOnSuccess() is a function in the spring-boot codebase.
What does bindToValueShouldTriggerOnSuccess() call?
bindToValueShouldTriggerOnSuccess() calls 5 function(s): MockConfigurationPropertySource, add, mockBindHandler, of, onSuccess.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free