@Test
public void testWritePassVariantsWithNoPassingVariants() {

    fgfr2PassMissenseVariant.addFilterResult(FAIL_TARGET_RESULT);
    fgfr2PassMissenseVariant.setCompatibleInheritanceModes(EnumSet.of(ModeOfInheritance.AUTOSOMAL_DOMINANT));
    shhIndelVariant.addFilterResult(FAIL_TARGET_RESULT);
    shhIndelVariant.setCompatibleInheritanceModes(EnumSet.of(ModeOfInheritance.AUTOSOMAL_DOMINANT));
    fgfr2Gene.setCompatibleInheritanceModes(EnumSet.of(ModeOfInheritance.AUTOSOMAL_DOMINANT));
    shhGene.setCompatibleInheritanceModes(EnumSet.of(ModeOfInheritance.AUTOSOMAL_DOMINANT));
    AnalysisResults analysisResults = buildAnalysisResults(fgfr2Gene, shhGene);
    OutputSettings outputPassVariantsOnlySettings = OutputSettings.builder()
            .outputFormats(EnumSet.of(OutputFormat.VCF))
            .outputContributingVariantsOnly(true)
            .build();
    String output = instance.writeString(ModeOfInheritance.AUTOSOMAL_DOMINANT, analysis, analysisResults, outputPassVariantsOnlySettings);
    assertThat(output, equalTo(EXPECTED_HEADER));
}