PAnchor extends PFocusWidget { @Override protected WidgetType getWidgetType() { return WidgetType.ANCHOR; } protected  PAnchor(); protected  PAnchor(final String text); protected  PAnchor(final String text, final String href); String getHref(); void setHref(final String href); String getText(); void setText(final String text); String getHTML(); void setHTML(final String html); @Override String dumpDOM();  }
@Test public void testInit() { final PAnchor anchor = Element.newPAnchor(); assertEquals(WidgetType.ANCHOR, anchor.getWidgetType()); assertNotNull(anchor.toString()); }