RangeImpl implements Range { @Override public Comparable getHighEndPoint() { return highEndPoint; } RangeImpl();  RangeImpl(RangeBoundary lowBoundary, Comparable lowEndPoint, Comparable highEndPoint, RangeBoundary highBoundary); @Override RangeBoundary getLowBoundary(); @Override Comparable getLowEndPoint(); @Override Comparable getHighEndPoint(); @Override RangeBoundary getHighBoundary(); @Override Boolean includes(Object param); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }
@Test public void getHighEndPoint() { final Integer highEndPoint = 15; final RangeImpl rangeImpl = new RangeImpl(Range.RangeBoundary.OPEN, 1, highEndPoint, Range.RangeBoundary.CLOSED); Assert.assertEquals(highEndPoint, rangeImpl.getHighEndPoint()); }