### Question:
ListProperty extends BaseProperty implements Cloneable { @Override public void setValue(Object value) { this.setList((List<String>) value); }  @Deprecated String getFormStringSeparator(); @Deprecated void setFormStringSeparator(String formStringSeparator); @Override Object getValue(); @Override void setValue(Object value); String getTextValue(); @Override String toText(); @Deprecated String toSingleFormString(); @Override boolean equals(Object obj); @Override ListProperty clone(); List<String> getList(); void setList(List<String> list); @Override String toString();  }### Answer:
@Test public void toFormString() { ListProperty listProperty = new ListProperty(); listProperty.setValue(Arrays.asList("o<n>e", "t\"w'o", "t{h&ree")); assertEquals("o&#60;n&#62;e|t&#34;w&#39;o|t&#123;h&#38;ree", listProperty.toFormString()); }