@Test
public void testWriteTemplateWithEmptyData() {

    Analysis analysis = Analysis.builder().build();
    AnalysisResults analysisResults = buildAnalysisResults(Collections.emptyList(), Collections.emptyList());
    String outputPrefix = testOutDir.resolve("testWriteTemplateWithEmptyData").toString();
    OutputSettings settings = OutputSettings.builder()
            .outputPrefix(outputPrefix)
            .build();
    instance.writeFile(ModeOfInheritance.AUTOSOMAL_DOMINANT, analysis, analysisResults, settings);
    Path testOutFile = Paths.get(outputPrefix + "_AD.html");
    assertTrue(testOutFile.toFile().exists());
    assertTrue(testOutFile.toFile().delete());
}