Project extends OwnedEntity { @Override public String toString() { return new ToStringBuilder(this) .appendSuper(super.toString()) .append("files", getFiles(), false) .toString(); } Project();  Project(String name);  Project(String userId, String name);  Project(Project clone); @NameFormatConstraint @Override String getName(); Set<File> getFiles(); void setFiles(Set<File> files); void addFile(File file); void removeFile(File file); @Override String toString();  }
@Test public void testToString() { toStringPrint(entity); }