RangeImpl implements Range { @Override public RangeBoundary getHighBoundary() { return highBoundary; } 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 getHighBoundary() { final Range.RangeBoundary highBoundary = Range.RangeBoundary.CLOSED; final RangeImpl rangeImpl = new RangeImpl(Range.RangeBoundary.OPEN, 10, 15, highBoundary); Assert.assertEquals(highBoundary, rangeImpl.getHighBoundary()); }