ViewHelper { public String itemAnchor(ItemDocumentation itemDocumentation) { return String.format("item-%s", itemDocumentation.getId()); }  String sectionHeaderText(int section, int subsection, FunctionDocumentation functionDocumentation); String sectionAnchor(int section, int subsection); String sectionNumber(int section, int subsection); String href(String id); String href(ItemDocumentation itemDocumentation); String href(ItemDocumentationSupport ids); String itemAnchor(ItemDocumentation itemDocumentation); String memberText(GroupDocumentation g, GroupMember m); String summarize(BaseDocumentation doc, int length, String elideText);  }
@Test public void testItemAnchor() { assertEquals("item-" + doc.getId(), vh.itemAnchor(doc)); }