ProjectHistory extends OwnedEntity { @Override public String toString() { return new ToStringBuilder(this) .appendSuper(super.toString()) .append("history", history) .toString(); } ProjectHistory();  ProjectHistory(OwnedEntity entity, History history);  ProjectHistory(ProjectHistory project); History getHistory(); void setHistory(History history); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString();  }
@Test public void testToString() { toStringPrint(entity); }