bindToPackagePrivateClassShouldBindToInstance() — spring-boot Function Reference
Architecture documentation for the bindToPackagePrivateClassShouldBindToInstance() function in PackagePrivateBeanBindingTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 0c429658_0d26_2574_63d1_ee85cdf3916e["bindToPackagePrivateClassShouldBindToInstance()"] dec6e978_683d_a8e4_7ae5_e3e729d3253e["MockConfigurationPropertySource()"] 0c429658_0d26_2574_63d1_ee85cdf3916e -->|calls| dec6e978_683d_a8e4_7ae5_e3e729d3253e 725e97d2_341b_6665_84bc_9206c7185c54["put()"] 0c429658_0d26_2574_63d1_ee85cdf3916e -->|calls| 725e97d2_341b_6665_84bc_9206c7185c54 7ed947bf_22a1_2781_a2ae_759aa1907445["add()"] 0c429658_0d26_2574_63d1_ee85cdf3916e -->|calls| 7ed947bf_22a1_2781_a2ae_759aa1907445 8297d150_846a_4cc4_47ca_e6d5a70497f3["bind()"] 0c429658_0d26_2574_63d1_ee85cdf3916e -->|calls| 8297d150_846a_4cc4_47ca_e6d5a70497f3 d072285d_a9a5_793a_e020_350f4ab7453e["getBar()"] 0c429658_0d26_2574_63d1_ee85cdf3916e -->|calls| d072285d_a9a5_793a_e020_350f4ab7453e 19a274bb_d9c7_a72c_7ab7_6a36d8c8fa78["of()"] 0c429658_0d26_2574_63d1_ee85cdf3916e -->|calls| 19a274bb_d9c7_a72c_7ab7_6a36d8c8fa78 c90d60de_6e4d_b157_5121_acbc78d427f0["get()"] 0c429658_0d26_2574_63d1_ee85cdf3916e -->|calls| c90d60de_6e4d_b157_5121_acbc78d427f0 style 0c429658_0d26_2574_63d1_ee85cdf3916e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/context/properties/bind/test/PackagePrivateBeanBindingTests.java lines 52–60
@Test
void bindToPackagePrivateClassShouldBindToInstance() {
MockConfigurationPropertySource source = new MockConfigurationPropertySource();
source.put("foo.bar", "999");
this.sources.add(source);
ExamplePackagePrivateBean bean = this.binder.bind(this.name, Bindable.of(ExamplePackagePrivateBean.class))
.get();
assertThat(bean.getBar()).isEqualTo(999);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does bindToPackagePrivateClassShouldBindToInstance() do?
bindToPackagePrivateClassShouldBindToInstance() is a function in the spring-boot codebase.
What does bindToPackagePrivateClassShouldBindToInstance() call?
bindToPackagePrivateClassShouldBindToInstance() calls 7 function(s): MockConfigurationPropertySource, add, bind, get, getBar, of, put.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free