assertFoundBeans() — spring-boot Function Reference
Architecture documentation for the assertFoundBeans() function in NoUniqueBeanDefinitionFailureAnalyzerTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD da19625e_6502_09a1_442e_dce9694bf08c["assertFoundBeans()"] 0c8531e1_dd05_ad89_f6ff_1c3cbc997b75["failureAnalysisForFieldConsumer()"] 0c8531e1_dd05_ad89_f6ff_1c3cbc997b75 -->|calls| da19625e_6502_09a1_442e_dce9694bf08c 0260ac68_aeb3_9074_6908_86f61d9ca00f["failureAnalysisForMethodConsumer()"] 0260ac68_aeb3_9074_6908_86f61d9ca00f -->|calls| da19625e_6502_09a1_442e_dce9694bf08c 702eec57_acbe_f9dc_2e53_4053df76129c["failureAnalysisForConstructorConsumer()"] 702eec57_acbe_f9dc_2e53_4053df76129c -->|calls| da19625e_6502_09a1_442e_dce9694bf08c 387146b7_beb2_27fd_eb7a_9b443c2e7f73["failureAnalysisForObjectProviderMethodConsumer()"] 387146b7_beb2_27fd_eb7a_9b443c2e7f73 -->|calls| da19625e_6502_09a1_442e_dce9694bf08c 3a992b4d_1eb4_2e63_4488_f7a70af0872f["failureAnalysisForXmlConsumer()"] 3a992b4d_1eb4_2e63_4488_f7a70af0872f -->|calls| da19625e_6502_09a1_442e_dce9694bf08c 5a0e2cd2_885a_f25e_cb11_0394da25ca15["failureAnalysisForObjectProviderConstructorConsumer()"] 5a0e2cd2_885a_f25e_cb11_0394da25ca15 -->|calls| da19625e_6502_09a1_442e_dce9694bf08c 470f62c8_a09a_136a_3657_fb4c8e2bc33d["failureAnalysisIncludesPossiblyMissingParameterNames()"] 470f62c8_a09a_136a_3657_fb4c8e2bc33d -->|calls| da19625e_6502_09a1_442e_dce9694bf08c ebc7cdd4_21bc_3491_686c_090da262ca48["getDescription()"] da19625e_6502_09a1_442e_dce9694bf08c -->|calls| ebc7cdd4_21bc_3491_686c_090da262ca48 style da19625e_6502_09a1_442e_dce9694bf08c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/diagnostics/analyzer/NoUniqueBeanDefinitionFailureAnalyzerTests.java lines 162–171
private void assertFoundBeans(FailureAnalysis analysis) {
assertThat(analysis.getDescription()).contains("beanOne: defined in unknown location");
assertThat(analysis.getDescription())
.contains("beanTwo: defined by method 'beanTwo' in " + DuplicateBeansProducer.class.getName());
assertThat(analysis.getDescription())
.contains("beanThree: defined by method 'beanThree' in " + ParentProducer.class.getName());
assertThat(analysis.getDescription()).contains("barTestBean");
assertThat(analysis.getDescription()).contains("fooTestBean");
assertThat(analysis.getDescription()).contains("xmlTestBean");
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does assertFoundBeans() do?
assertFoundBeans() is a function in the spring-boot codebase.
What does assertFoundBeans() call?
assertFoundBeans() calls 1 function(s): getDescription.
What calls assertFoundBeans()?
assertFoundBeans() is called by 7 function(s): failureAnalysisForConstructorConsumer, failureAnalysisForFieldConsumer, failureAnalysisForMethodConsumer, failureAnalysisForObjectProviderConstructorConsumer, failureAnalysisForObjectProviderMethodConsumer, failureAnalysisForXmlConsumer, failureAnalysisIncludesPossiblyMissingParameterNames.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free