FilterReportFactory { private FilterReport makeTargetFilterReport(VariantEffectFilter filter, List<VariantEvaluation> variantEvaluations) { String message = String.format("Removed variants with effects of type: %s", filter.getOffTargetVariantTypes()); return makeVariantFilterReport(filter, variantEvaluations, message); } FilterReportFactory(); List<FilterReport> makeFilterReports(Analysis analysis, AnalysisResults analysisResults);  }
@Test public void testMakeTargetFilterReport() { VariantEffectFilter filter = new VariantEffectFilter(EnumSet.noneOf(VariantEffect.class)); ImmutableList<String> messages = ImmutableList.of(String.format("Removed variants with effects of type: %s", filter.getOffTargetVariantTypes())); FilterReport report = new FilterReport(filter.getFilterType(), 0, 0, messages); FilterReport result = instance.makeFilterReport(filter, analysisResults); assertThat(result, equalTo(report)); }