@Test
public void testWriteTemplateWithEmptyDataAndFullAnalysis() throws Exception {

    AnalysisResults analysisResults = buildAnalysisResults(Collections.emptyList(), Collections.emptyList());
    Analysis analysis = Analysis.builder()
            .hpoIds(Lists.newArrayList("HP:000001", "HP:000002"))
            .addStep(new RegulatoryFeatureFilter())
            .addStep(new FrequencyFilter(0.1f))
            .addStep(new PathogenicityFilter(true))
            .addStep(new PhivePriority(TestPriorityServiceFactory.STUB_SERVICE))
            .build();
    OutputSettings settings = OutputSettings.builder().build();
    String output = instance.writeString(ModeOfInheritance.ANY, analysis, analysisResults, settings);
    assertFalse(output.isEmpty());
}