PostAnalysisIssueFilter implements JavaFileScanner, SonarJavaIssueFilter { @VisibleForTesting Iterable<JavaIssueFilter> getIssueFilters() { if (issueFilers == null) { issueFilers = DEFAULT_ISSUE_FILTERS; } return issueFilers; }  @Override boolean accept(RuleKey ruleKey, AnalyzerMessage analyzerMessage); @Override void scanFile(JavaFileScannerContext context);  }
@Test void number_of_issue_filters() { assertThat(postAnalysisIssueFilter.getIssueFilters()).hasSize(5); }