@Test
public void writeToStringFullAnalysisNoModeOfInheritanceMatchAllVariants() throws Exception {

    Analysis analysis = this.analysisBuilder.analysisMode(AnalysisMode.FULL).build();
    AnalysisResults analysisResults = this.analysisResultsBuilder.build();
    OutputSettings outputSettings = this.settingsBuilder.outputContributingVariantsOnly(false).build();
    JsonResultsWriter instance = new JsonResultsWriter();
    //we have no MITOCHONDRIAL matches in the results set
    String result = instance.writeString(ModeOfInheritance.MITOCHONDRIAL, analysis, analysisResults, outputSettings);
    String expected = "[]";
    JSONAssert.assertEquals(expected, result, true);
}