VcfRecord { public static Builder builder() { return new Builder(); } VcfRecord(final long lineNumber,
              final String chrom,
              final long pos,
              final String[] id,
              final String ref,
              final String[] alt,
              final double qual,
              final String[] filter,
              final ListMultimap<String, String> info,
              final String[] format,
              final Map<String, VcfGenotype> genotypes); long getLineNumber(); String getChrom(); long getPos(); String[] getId(); String getRef(); String[] getAlt(); double getQual(); String[] getFilter(); ListMultimap<String, String> getInfo(); String[] getFormat(); Map<String, VcfGenotype> getGenotypes(); static Builder builder();  }
@Test public void testBuilder() { assertNotNull(builder()); }
@Test(expected=NullPointerException.class) public void testBuilderWithInfoNullKey() { builder().withInfo(null, "value"); }
@Test(expected=NullPointerException.class) public void testBuilderWithInfoNull() { builder().withInfo(null); }
@Test(expected=NullPointerException.class) public void testBuilderWithGenotypeNullSampleId() { builder().withGenotype(null, VcfGenotype.builder().withGt("1|1").build()); }
@Test(expected=NullPointerException.class) public void testBuilderWithGenotypeNullValue() { builder().withGenotype("NA19131", null); }
@Test(expected=NullPointerException.class) public void testBuilderWithGenotypesNullGenotypes() { builder().withGenotypes(null); }
@Test(expected=NullPointerException.class) public void testBuilderBuildNullId() { builder() .withLineNumber(lineNumber) .withChrom(chrom) .withPos(pos) .withRef(ref) .withAlt(alt) .withQual(qual) .withFilter(filter) .withInfo(info) .withFormat(format) .withGenotypes(genotypes) .build(); }
@Test(expected=NullPointerException.class) public void testBuilderBuildNullAlt() { builder() .withLineNumber(lineNumber) .withChrom(chrom) .withPos(pos) .withId(id) .withRef(ref) .withQual(qual) .withFilter(filter) .withInfo(info) .withFormat(format) .withGenotypes(genotypes) .build(); }