### Question:
PropertyType implements Property { @Override public String toString() { StringBuilder sb = new StringBuilder("[").append(this.getClass().getSimpleName()).append(']'); if (name != null) { sb.append("name=").append(name).append('\n'); } if (value != null) { sb.append("value=").append(value).append('\n'); } return sb.toString(); } PropertyType();  PropertyType(final QName name, final ValueType value); QName getName(); String getLocalName(); void setName(final QName value); Object getValue(); void setValue(final ValueType value); @Override String toString(); @Override boolean equals(final Object object); @Override int hashCode();  }### Answer:
@Test public void setValueGeometryNewTest() throws JAXBException { TransactionType transac = new TransactionType(); PointType pt = new PointType(null, new DirectPositionType(2.1, 12.6)); pt.setSrsName("urn:ogc:def:crs:epsg:7.4:4326"); PropertyType prop = new PropertyType(new QName("something"), new ValueType(pt)); transac.getInsertOrUpdateOrDelete().add(new UpdateElementType(null, Arrays.asList(prop), null, null, null)); StringWriter sw = new StringWriter(); marshaller.marshal(transac, sw); Object result = unmarshaller.unmarshal(new StringReader(sw.toString())); assertEquals(transac, result); transac = new TransactionType(); prop = new PropertyType(new QName("something"), new ValueType("jane")); transac.getInsertOrUpdateOrDelete().add(new UpdateElementType(null, Arrays.asList(prop), null, null, null)); sw = new StringWriter(); marshaller.marshal(transac, sw); result = unmarshaller.unmarshal(new StringReader(sw.toString())); assertEquals(transac, result); }