PButton extends PButtonBase { @Override protected WidgetType getWidgetType() { return WidgetType.BUTTON; } protected  PButton(); protected  PButton(final String text); protected  PButton(final String text, final String html);   }
@Test public void testInit() { final PButton widget = Element.newPButton(); assertEquals(WidgetType.BUTTON, widget.getWidgetType()); assertNotNull(widget.toString()); }