@Test
public void testWriteTemplateWithUnAnnotatedVariantDataAndGenes() throws Exception {

    Analysis analysis = Analysis.builder().build();
    List<VariantEvaluation> variants = Lists.newArrayList(unAnnotatedVariantEvaluation1, unAnnotatedVariantEvaluation2);
    List<Gene> genes = Lists.newArrayList(fgfr2Gene, shhGene);
    AnalysisResults analysisResults = buildAnalysisResults(genes, variants);
    String testOutFilePrefix = testOutDir.resolve("testWriteTemplateWithUnAnnotatedVariantDataAndGenes").toString();
    OutputSettings settings = OutputSettings.builder().outputPrefix(testOutFilePrefix).build();
    instance.writeFile(ModeOfInheritance.ANY, analysis, analysisResults, settings);
    Path testOutFile = Paths.get(testOutFilePrefix + ".html");
    List<String> lines = Files.readAllLines(testOutFile);
    assertFalse(lines.isEmpty());
    assertTrue(testOutFile.toFile().exists());
    assertTrue(testOutFile.toFile().delete());
}