@Test
public void testRunFilterVariantInFailedGeneAlsoFailsTheFilter() {

    PriorityResult priorityResult = makeDefaultPriorityResult(minPriorityScore - 0.2f);
    gene.addPriorityResult(priorityResult);
    VariantEvaluation variant = VariantEvaluation.builder(1, 1, "A", "T").build();
    gene.addVariant(variant);
    
    FilterResult result = instance.runFilter(gene);
    
    assertFails(result);
    assertThat(variant.passedFilter(FilterType.PRIORITY_SCORE_FILTER), is(false));
    assertThat(variant.getFailedFilterTypes(), hasItem(FilterType.PRIORITY_SCORE_FILTER));
}