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

failureAnalysisForConstructorConsumer() — spring-boot Function Reference

Architecture documentation for the failureAnalysisForConstructorConsumer() function in NoUniqueBeanDefinitionFailureAnalyzerTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  702eec57_acbe_f9dc_2e53_4053df76129c["failureAnalysisForConstructorConsumer()"]
  43901c45_86fa_2580_eddb_4457b8519148["analyzeFailure()"]
  702eec57_acbe_f9dc_2e53_4053df76129c -->|calls| 43901c45_86fa_2580_eddb_4457b8519148
  7059bd71_0e03_239d_9515_827b133d76a2["createFailure()"]
  702eec57_acbe_f9dc_2e53_4053df76129c -->|calls| 7059bd71_0e03_239d_9515_827b133d76a2
  ebc7cdd4_21bc_3491_686c_090da262ca48["getDescription()"]
  702eec57_acbe_f9dc_2e53_4053df76129c -->|calls| ebc7cdd4_21bc_3491_686c_090da262ca48
  da19625e_6502_09a1_442e_dce9694bf08c["assertFoundBeans()"]
  702eec57_acbe_f9dc_2e53_4053df76129c -->|calls| da19625e_6502_09a1_442e_dce9694bf08c
  style 702eec57_acbe_f9dc_2e53_4053df76129c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/diagnostics/analyzer/NoUniqueBeanDefinitionFailureAnalyzerTests.java lines 77–83

	@Test
	void failureAnalysisForConstructorConsumer() {
		FailureAnalysis failureAnalysis = analyzeFailure(createFailure(ConstructorConsumer.class));
		assertThat(failureAnalysis.getDescription()).startsWith("Parameter 0 of constructor in "
				+ ConstructorConsumer.class.getName() + " required a single bean, but 6 were found:");
		assertFoundBeans(failureAnalysis);
	}

Domain

Subdomains

Frequently Asked Questions

What does failureAnalysisForConstructorConsumer() do?
failureAnalysisForConstructorConsumer() is a function in the spring-boot codebase.
What does failureAnalysisForConstructorConsumer() call?
failureAnalysisForConstructorConsumer() calls 4 function(s): analyzeFailure, assertFoundBeans, createFailure, getDescription.

Analyze Your Own Codebase

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

Try Supermodel Free