SearchResultItemImpl implements SearchResultItem { public WebUrl getUrl() { return url; } SearchResultItemImpl(String id, Site site, WebUrl url,
      double relevance, Object source); Site getSite(); void setId(String id); String getId(); void setTitle(String title); String getTitle(); void setUrl(WebUrl url); WebUrl getUrl(); void setPreview(Object preview); Object getContent(); PageletRenderer getRenderer(); void setRenderer(PageletRenderer renderer); void setPreviewRenderer(Renderer r); Renderer getPreviewRenderer(); void setRelevance(double relevance); double getRelevance(); Object getSource(); int compareTo(SearchResultItem sr); @Override boolean equals(Object obj); @Override int hashCode(); String toXml();  }
@Test public void testGetUrl() { assertEquals(url, item.getUrl()); }