### Question:
DateProperty extends BaseProperty implements Cloneable { @Override public void setValue(Object value) { Date date = (Date) value; if (date != null && date.getClass() != Date.class) { date = new Date(((Date) value).getTime()); } setValueDirty(date); this.value = date; }  @Override Object getValue(); @Override void setValue(Object value); @Override String toText(); @Override int hashCode(); @Override boolean equals(Object obj); @Override DateProperty clone();  }### Answer:
@Test public void setValue() { Date date = new Date(); DateProperty property = new DateProperty(); property.setValue(date); assertSame(date, property.getValue()); }