@Test
public void testMakeFilterReportsDecoratedFrequencyPathogenicityTypesSpecifiedReturnsListWithTwoReports() {

    Analysis analysis = Analysis.builder()
            .addStep(new FrequencyDataProvider(null, Collections.emptySet(), new KnownVariantFilter()))
            .addStep(new FrequencyDataProvider(null, Collections.emptySet(), new FrequencyFilter(0.1f)))
            .addStep(new PathogenicityDataProvider(null, Collections.emptySet(), new PathogenicityFilter(true)))
            .build();
    
    List<FilterReport> reports = instance.makeFilterReports(analysis, analysisResults);
    assertThat(reports.size(), equalTo(analysis.getAnalysisSteps().size()));
    assertThat(reports.get(0).getFilterType(), equalTo(FilterType.KNOWN_VARIANT_FILTER));
    assertThat(reports.get(1).getFilterType(), equalTo(FilterType.FREQUENCY_FILTER));
    assertThat(reports.get(2).getFilterType(), equalTo(FilterType.PATHOGENICITY_FILTER));
}