FileHistory extends FileInfo { @Override public String toString() { return new ToStringBuilder(this) .appendSuper(super.toString()) .append("projectId", projectId) .append("history", history) .toString(); } FileHistory();  FileHistory(File file, History history);  FileHistory(FileInfo file, Integer projectId, History history);  FileHistory(FileHistory file); Integer getProjectId(); void setProjectId(Integer projectId); History getHistory(); void setHistory(History history); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString();  }
@Test public void testToString() { toStringPrint(entity); }