RegulatoryFeature implements ChromosomalRegion { @Override public String toString() { return "RegulatoryFeature{" + "chromosome=" + chromosome + ", start=" + start + ", end=" + end + ", featureType=" + featureType + '}'; } 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 testToString() { System.out.println(instance); }