MvStoreAlleleIndexer extends AbstractAlleleIndexer { @Override public long count() { return map.size(); } MvStoreAlleleIndexer(MVStore mvStore); @Override void writeAllele(Allele allele); @Override long count(); @Override void close();  }
@Test public void createsSingleAllelesMap() throws Exception { MVStore mvStore = newMvStore(); MvStoreAlleleIndexer instance = new MvStoreAlleleIndexer(mvStore); assertThat(mvStore.getMapNames(), equalTo(Sets.newHashSet("alleles"))); assertThat(instance.count(), equalTo(0L)); }