### Question:
DBSNPVCFHeaderExtender extends VCFHeaderExtender { @Override public void addHeaders(VCFHeader header, String prefix) { addHeadersInfixes(header, prefix, "", ""); if (options.isReportOverlapping() && !options.isReportOverlappingAsMatching()) addHeadersInfixes(header, prefix, "OVL_", " (requiring no genotype match, only position overlap)"); } DBSNPVCFHeaderExtender(DBAnnotationOptions options); @Override String getDefaultPrefix(); @Override void addHeaders(VCFHeader header, String prefix); void addHeadersInfixes(VCFHeader header, String prefix, String infix, String note);  }### Answer:
@Test public void test() throws JannovarVarDBException { VCFHeader header = new VCFHeader(); Assert.assertEquals(0, header.getFilterLines().size()); Assert.assertEquals(0, header.getInfoHeaderLines().size()); Assert.assertEquals(0, header.getFormatHeaderLines().size()); Assert.assertEquals(0, header.getIDHeaderLines().size()); Assert.assertEquals(0, header.getOtherHeaderLines().size()); DBAnnotationOptions options = DBAnnotationOptions.createDefaults(); options.setReportOverlapping(true); options.setReportOverlappingAsMatching(false); options.setIdentifierPrefix("DBSNP_"); new DBSNPVCFHeaderExtender(options).addHeaders(header); Assert.assertEquals(0, header.getFilterLines().size()); Assert.assertEquals(12, header.getInfoHeaderLines().size()); Assert.assertEquals(0, header.getFormatHeaderLines().size()); Assert.assertEquals(12, header.getIDHeaderLines().size()); Assert.assertEquals(0, header.getOtherHeaderLines().size()); Assert.assertNotNull(header.getInfoHeaderLine("DBSNP_COMMON")); Assert.assertNotNull(header.getInfoHeaderLine("DBSNP_CAF")); Assert.assertNotNull(header.getInfoHeaderLine("DBSNP_G5")); Assert.assertNotNull(header.getInfoHeaderLine("DBSNP_G5A")); Assert.assertNotNull(header.getInfoHeaderLine("DBSNP_IDS")); Assert.assertNotNull(header.getInfoHeaderLine("DBSNP_SAO")); Assert.assertNotNull(header.getInfoHeaderLine("DBSNP_OVL_COMMON")); Assert.assertNotNull(header.getInfoHeaderLine("DBSNP_OVL_CAF")); Assert.assertNotNull(header.getInfoHeaderLine("DBSNP_OVL_G5")); Assert.assertNotNull(header.getInfoHeaderLine("DBSNP_OVL_G5A")); Assert.assertNotNull(header.getInfoHeaderLine("DBSNP_OVL_IDS")); Assert.assertNotNull(header.getInfoHeaderLine("DBSNP_OVL_SAO")); }