PageletURIImpl implements PageletURI { public int getPosition() { return position; } PageletURIImpl(ResourceURI pageURI, String composer, int position); Site getSite(); ResourceURI getPageURI(); String getComposer(); int getPosition(); void setURI(ResourceURI uri); void setComposer(String composer); void setPosition(int position); @Override int hashCode(); @Override boolean equals(Object o); int compareTo(PageletURI l); @Override String toString();  }
@Test public void testGetPosition() { assertEquals(position, location.getPosition()); }