RegulatoryFeature implements ChromosomalRegion { @Override public int getEnd() { return end; } RegulatoryFeature(int chromosome, int start, int end, FeatureType featureType); @Override int getChromosome(); @Override int getStart(); @Override int getEnd(); FeatureType getFeatureType(); VariantEffect getVariantEffect(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }
@Test public void getEnd() { assertThat(instance.getEnd(), equalTo(100)); }