use of org.springframework.boot.diagnostics.FailureAnalyzer in project spring-cloud-open-service-broker by spring-cloud.
the class AbstractServiceBrokerWebAutoConfigurationTest method assertFailureAnalysis.
protected void assertFailureAnalysis(Throwable t) {
FailureAnalyzer analyzer = new RequiredServiceInstanceServiceBeanFailureAnalyzer();
FailureAnalysis analysis = analyzer.analyze(t);
assertThat(analysis).isNotNull();
assertThat(analysis.getDescription()).isEqualTo(ANALYZER_DESCRIPTION);
}
use of org.springframework.boot.diagnostics.FailureAnalyzer in project spring-cloud-open-service-broker by spring-cloud.
the class ServiceBrokerAutoConfigurationTest method assertFailureAnalysis.
private void assertFailureAnalysis(Throwable t) {
FailureAnalyzer analyzer = new RequiredCatalogBeanFailureAnalyzer();
FailureAnalysis analysis = analyzer.analyze(t);
assertThat(analysis).isNotNull();
assertThat(analysis.getDescription()).isEqualTo(ANALYZER_DESCRIPTION);
}
Aggregations