@Test
public void testWriteRecordMissingQual() throws Exception {

    VcfRecord missingQual = new VcfRecord(3L, "22", 16140370L, new String[] { "rs2096606" }, "A", new String[] { "G" }, Double.NaN, new String[] { "PASS" }, info, new String[] { "GT" }, genotypes);
    writeRecord(samples, missingQual, writer);
    writer.close();
    assertEquals("22\t16140370\trs2096606\tA\tG\t.\tPASS\t.\tGT\t1|1" + System.lineSeparator(), outputStream.toString());
}