#40 Fix NPE in Result.getReportDocument for malformed xml input

Information about parsing errors in fallback-report
This commit is contained in:
Andreas Penski (init) 2020-01-06 11:49:42 +01:00
parent 0ca79fc89d
commit 7f57d8744b
5 changed files with 59 additions and 15 deletions

View file

@ -124,6 +124,7 @@ public class DefaultCheckTest {
assertThat(result.getAcceptRecommendation()).isEqualTo(AcceptRecommendation.REJECT);
assertThat(result.getReport()).isNotNull();
assertThat(result.getReportDocument()).isNotNull();
System.out.println(Helper.serialize(result.getReportDocument()));
}
}