List<Feature> features = getGeneFeatures(filepath, chr, start, end);
assertEquals(3, features.size());
for (Feature feat : features) {
BasicFeature bf = (BasicFeature) feat;
if (bf.getType().equals("mRNA")) {
assertEquals(8, bf.getExonCount());
for (Exon exon : bf.getExons()) {
assertEquals(bf.getIdentifier(), exon.getAttributes().get("Parent"));
assertWholeExonCoding(exon);
}
}
}
}