BaseEntity implements Serializable { public void setModified(Date modified) { this.modified = modified; }  int getId(); void setId(int id); Date getCreated(); Date getModified(); @PrePersist void initializeDates(); @PreUpdate void updateModified(); void setCreated(Date creater); void setModified(Date modified); String reflectionToString(); void setForceCreateDate(Date forceCreateDate); static final String PROPERTY_ID; static final String PROPERTY_CREATE; static final String PROPERTY_MODIFIED; }
@Test public void testSetModified_1() throws Exception { BaseEntity fixture = new JobConfiguration(); Date modified = new Date(); fixture.setModified(modified); }