History implements Serializable { @Override public String toString() { return new ToStringBuilder(this) .append("insertVersion", insertVersion) .append("updateVersion", updateVersion) .append("createdOn", createdOn) .append("deletedOn", deletedOn) .toString(); } History();  History(Integer insertVersion, Integer updateVersion);  History(History clone); Integer getInsertVersion(); void setInsertVersion(Integer insertVersion); Integer getUpdateVersion(); void setUpdateVersion(Integer updateVersion); Date getCreatedOn(); void setCreatedOn(Date createdOn); Date getDeletedOn(); void setDeletedOn(Date deletedOn); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString();  }
@Test public void testToString() { toStringPrint(entity); }