FilterReportFactory { private FilterReport makeQualityFilterReport(QualityFilter filter, List<VariantEvaluation> variantEvaluations) { String message = String.format("Variants filtered for mimimum PHRED quality of %.1f", filter.getMimimumQualityThreshold()); return makeVariantFilterReport(filter, variantEvaluations, message); } FilterReportFactory(); List<FilterReport> makeFilterReports(Analysis analysis, AnalysisResults analysisResults);  }
@Test public void testMakeQualityFilterReport() { Filter filter = new QualityFilter(100.0f); FilterType filterType = filter.getFilterType(); ImmutableList<String> messages = ImmutableList.of("Variants filtered for mimimum PHRED quality of 100.0"); FilterReport report = new FilterReport(filterType, 0, 0, messages); FilterReport result = instance.makeFilterReport(filter, analysisResults); assertThat(result, equalTo(report)); }