### Question:
DBSNPInfoFactory { public DBSNPInfo build(VCFHeader vcfHeader) { String fileDate = vcfHeader.getMetaDataLine("fileDate").getValue(); String source = vcfHeader.getMetaDataLine("source").getValue(); int dbSNPBuildID = Integer.parseInt(vcfHeader.getMetaDataLine("dbSNP_BUILD_ID").getValue()); String reference = vcfHeader.getMetaDataLine("reference").getValue(); String phasing = vcfHeader.getMetaDataLine("phasing").getValue(); return new DBSNPInfo(fileDate, source, dbSNPBuildID, reference, phasing); }  DBSNPInfo build(VCFHeader vcfHeader);  }### Answer:
@Test public void test() { DBSNPInfoFactory factory = new DBSNPInfoFactory(); DBSNPInfo info = factory.build(vcfReader.getFileHeader()); Assert.assertEquals("20160408", info.getFileDate()); Assert.assertEquals("dbSNP", info.getSource()); Assert.assertEquals(147, info.getDbSNPBuildID()); Assert.assertEquals("GRCh37.p13", info.getReference()); Assert.assertEquals("partial", info.getPhasing()); }