@Test
public void testWriteStringUnderAnyInheritanceModeContainsAllVariants() {

    OutputSettings settings = settingsBuilder.build();
    String outString = instance.writeString(ModeOfInheritance.ANY, analysis, analysisResults, settings);
    String expected = HEADER
            + PASS_VARIANT_LINE
            + FAIL_VARIANT_LINE;
    assertThat(outString, equalTo(expected));
}