### Question:
UIDEditor extends PropertyEditorSupport { @Override public String getAsText() { UID uid = (UID) getValue(); if (uid == null) { return ""; } else { return uid.getId(); } }  @Override String getAsText(); @Override void setAsText(String text);  }### Answer:
@Test public void Set_Value_And_Get_As_Text() { UIDEditor editor = new UIDEditor(); editor.setValue(RDF.type); assertEquals(RDF.type.getId(), editor.getAsText()); }