### Question:
PileupEntry { public TObjectIntHashMap<Allele> getAlleleCounts() { return alleleCounts; } PileupEntry(String chr, int pos, Allele refAllele, int readDepth, String basesString, int minimumBaseQuality);  PileupEntry(String chr, int pos, Allele refAllele, int readDepth, String basesString, String basesQualityString, int minimumBaseQuality); String getChr(); int getPos(); Allele getRefAllele(); int getReadDepth(); TObjectIntHashMap<Allele> getAlleleCounts(); int getAlleleCount(Allele allele); TObjectDoubleHashMap<Allele> getAlleleAverageQualities(); double getAlleleAverageQuality(Allele allele); int getMinimumBaseQuality();  }### Answer:
@Test public void testGetAlleleCounts() { assertEquals(entry1.getAlleleCounts().get(Allele.A), 1); assertEquals(entry1.getAlleleCounts().get(Allele.C), 0); assertEquals(entry1.getAlleleCounts().get(Allele.G), 11); assertEquals(entry1.getAlleleCounts().get(Allele.T), 0); assertEquals(entry2.getAlleleCounts().get(Allele.A), 0); assertEquals(entry2.getAlleleCounts().get(Allele.C), 0); assertEquals(entry2.getAlleleCounts().get(Allele.G), 13); assertEquals(entry2.getAlleleCounts().get(Allele.T), 0); assertEquals(entry3.getAlleleCounts().get(Allele.A), 9); assertEquals(entry3.getAlleleCounts().get(Allele.C), 0); assertEquals(entry3.getAlleleCounts().get(Allele.G), 2); assertEquals(entry3.getAlleleCounts().get(Allele.T), 0); assertEquals(entry4.getAlleleCounts().get(Allele.A), 4); assertEquals(entry4.getAlleleCounts().get(Allele.C), 2); assertEquals(entry4.getAlleleCounts().get(Allele.G), 2); assertEquals(entry4.getAlleleCounts().get(Allele.T), 2); assertEquals(entry5.getAlleleCount(Allele.A), 9); assertEquals(entry5.getAlleleCount(Allele.C), 0); assertEquals(entry5.getAlleleCount(Allele.G), 2); assertEquals(entry5.getAlleleCount(Allele.T), 0); assertEquals(entry6.getAlleleCount(Allele.A), 2); assertEquals(entry6.getAlleleCount(Allele.C), 0); assertEquals(entry6.getAlleleCount(Allele.G), 0); assertEquals(entry6.getAlleleCount(Allele.T), 0); }