@Test
public void testGet() throws Exception {

    PerAlleleCollection<Integer> alleleCounts = PerAlleleCollection.createPerRefAndAltAlleleCollection();
    Allele refA = Allele.create("A", true);
    Allele altT = Allele.create("T", false);
    alleleCounts.set(refA, 40);
    alleleCounts.set(altT, 10);
    assertEquals((int)alleleCounts.get(refA), 40);
    assertEquals((int)alleleCounts.get(altT), 10);
}