@Test
public void testOutFileNameIsCombinationOfOutPrefixAndOutFormat() {

    OutputFormat outFormat = OutputFormat.TSV_GENE;
    String outFilePrefix = "user/subdir/geno/vcf/F0000009/F0000009";
    OutputSettings settings = OutputSettings.builder().outputPrefix(outFilePrefix).build();
    assertThat(ResultsWriterUtils.makeOutputFilename(vcfPath, settings.getOutputPrefix(), outFormat, ModeOfInheritance.AUTOSOMAL_DOMINANT), equalTo("user/subdir/geno/vcf/F0000009/F0000009_AD.genes.tsv"));
}