PageRange implements PagesSelection { public boolean isUnbounded() { return this.end == UNBOUNDED_END; } PageRange();  PageRange(int start, int end);  PageRange(int start); int getStart(); int getEnd(); boolean isUnbounded(); boolean intersects(PageRange range); @Override SortedSet<Integer> getPages(int totalNumberOfPage); boolean contains(int page); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object other); static PageRange one(int page);  }
@Test public void testUnbounded() { PageRange victim = new PageRange(10); assertTrue(victim.isUnbounded()); }