@Test
public void testWithNotExistingFile() {

    QAvalidatorConfig config = new QAvalidatorConfig();
    config.setAnalysisFilename("not/existing/file");
    QAvalidatorResult result = new QAvalidator().runAnalysis(config);
    assertThat(result, notNullValue());
    assertThat(result.getFailedSteps(), hasSize(0));
    assertThat(result.isFailedWithException(), is(true));
    assertThat(result.getExceptionMessage(), startsWith("Can not find analysis file"));
    assertThat(result.getExceptionMessage().replaceAll("\\\\", "/"), endsWith("not/existing/file"));
}