ClientLog extends OwnedEntity { @Override public String toString() { return new ToStringBuilder(this) .appendSuper(super.toString()) .append("createdOn", createdOn) .append("dataLength", StringUtils.length(data)) .toString(); } ClientLog();  ClientLog(String data);  ClientLog(String userId, String data);  ClientLog(ClientLog clone); String getData(); void setData(String data); Date getCreatedOn(); void setCreatedOn(Date createdOn); @Override String toString();  }
@Test public void testToString() { toStringPrint(entity); }