PropertyEditorHelper { static PropertyEditorItemLabel createLabel(final PropertyEditorFieldInfo field) { PropertyEditorItemLabel item = GWT.create(PropertyEditorItemLabel.class); item.setText(field.getLabel()); item.setFor(String.valueOf(field.hashCode())); if (field.hasHelpInfo()) { item.setHelpTitle(field.getHelpHeading()); item.setHelpContent(field.getHelpText()); } return item; }  static void extractEditorFrom(final PropertyEditorWidget propertyEditorWidget,
                                         final PanelGroup propertyMenu,
                                         final PropertyEditorEvent event,
                                         final String propertyNameFilter); static void extractEditorFrom(final PropertyEditorWidget propertyEditorWidget,
                                         final PanelGroup propertyMenu,
                                         final PropertyEditorEvent event); static boolean validade(PropertyEditorEvent event);  }
@Test public void createLabelTest() { PropertyEditorFieldInfo field = new PropertyEditorFieldInfo("label", PropertyEditorType.TEXT); PropertyEditorItemLabel label = PropertyEditorHelper.createLabel(field); verify(label).setText("label"); }