|
|
@ -200,8 +200,8 @@ public class NoSuchBeanDefinitionFailureAnalyzerTests {
|
|
|
|
public void failureAnalysisForUnmatchedQualifier() {
|
|
|
|
public void failureAnalysisForUnmatchedQualifier() {
|
|
|
|
FailureAnalysis analysis = analyzeFailure(
|
|
|
|
FailureAnalysis analysis = analyzeFailure(
|
|
|
|
createFailure(QualifiedBeanConfiguration.class));
|
|
|
|
createFailure(QualifiedBeanConfiguration.class));
|
|
|
|
assertThat(analysis.getDescription()).contains(
|
|
|
|
assertThat(analysis.getDescription()).containsPattern(
|
|
|
|
"@org.springframework.beans.factory.annotation.Qualifier(value=alpha)");
|
|
|
|
"@org.springframework.beans.factory.annotation.Qualifier\\(value=\"*alpha\"*\\)");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
private void assertDescriptionConstructorMissingType(FailureAnalysis analysis,
|
|
|
|
private void assertDescriptionConstructorMissingType(FailureAnalysis analysis,
|
|
|
|