QualityFilter implements VariantFilter { protected boolean overQualityThreshold(double qualityScore) { return qualityScore >= mimimumQualityThreshold; } QualityFilter(double mimimumQualityThreshold); double getMimimumQualityThreshold(); @Override FilterType getFilterType(); @Override FilterResult runFilter(VariantEvaluation variantEvaluation); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString();  }
@Test public void testPassesFilterOverThresholdIsTrue() { assertThat(instance.overQualityThreshold(OVER_THRESHOLD), is(true)); }
@Test public void testPassesFilterUnderThresholdIsFalse() { assertThat(instance.overQualityThreshold(UNDER_THRESHOLD), is(false)); }