@Test
public void shouldAnalyzeConfigurationException() {

	// Given
	QuickFixJAutoConfigFailureAnalyzer analyzer = new QuickFixJAutoConfigFailureAnalyzer();
	ConfigurationException exception = new ConfigurationException("Error", new RuntimeException("Error message"));
	// When
	FailureAnalysis analyze = analyzer.analyze(null, exception);
	assertThat(analyze.getAction()).contains("Please configure your QuickFIX/J settings");
	assertThat(analyze.getDescription()).contains("A configuration error has been detected in the QuickFIX/J settings provided: Error message");
	assertThat(analyze.getCause()).isEqualTo(exception);
}