@Test
public void testAnalyseInheritanceModesSingleSampleNoPassedVariants() {

    Gene gene = newGene();
    gene.addVariant(filteredVariant(1, 1 , "A", "T", FilterResult.fail(FilterType.FREQUENCY_FILTER)));
    Pedigree pedigree = Pedigree.justProband("Adam");
    InheritanceModeAnalyser instance = newInheritanceModeAnalyser(pedigree);
    instance.analyseInheritanceModes(gene);
    assertThat(gene.isCompatibleWith(ModeOfInheritance.ANY), is(true));
    assertThat(gene.isCompatibleWith(ModeOfInheritance.AUTOSOMAL_DOMINANT), is(false));
    assertThat(gene.isCompatibleWith(ModeOfInheritance.AUTOSOMAL_RECESSIVE), is(false));
}