### Question:
LIDEditor extends PropertyEditorSupport { @Override public void setAsText(String text) { if (Strings.isNullOrEmpty(text)) { setValue(null); } else { setValue(new LID(text)); } }  @Override String getAsText(); @Override void setAsText(String text);  }### Answer:
@Test public void SetAsTextString() { editor.setAsText("1"); assertEquals(new LID("1"), editor.getValue()); }