Package implements Serializable, Comparable<Package> { public void setChangeLog(String changeLog) { this.changeLog = changeLog; }  @PostLoad void sanitizeValues(); Long getId(); void setVersion(Version version); PackageReferenceList getConflicts(); void setConflicts(PackageReferenceList conflicts); PackageReferenceList getDepends(); void setDepends(PackageReferenceList depends); String getName(); void setName(String name); PackageReferenceList getPreDepends(); void setPreDepends(PackageReferenceList preDepends); PackageReferenceList getProvides(); void setProvides(PackageReferenceList provides); Version getVersion(); String getDisplayVersion(); void setVersion(String s); @Override String toString(); String forConflictsToString(); String toStringWithNameAndVersion(); @Override int hashCode(); @Override boolean equals(Object obj); String getFilename(); void setFilename(String filename); String getMD5sum(); void setMD5sum(String md5sum); String getDescription(); void setDescription(String description); String getLicense(); void setLicense(String license); long getSize(); void setSize(long size); long getInstalledSize(); void setInstalledSize(long installedSize); String getShortDescription(); void setShortDescription(String shortDescription); String getSection(); void setSection(String section); String getPriority(); void setPriority(String priority); String getMaintainer(); void setMaintainer(String maintainer); boolean isEssential(); void setEssential(boolean essential); String getDistribution(); void setDistribution(String distribution); String getDate(); void setDate(String date); String getChangedBy(); void setChangedBy(String changedBy); String getArchitecture(); void setArchitecture(String architecture); PackageReferenceList getEnhances(); void setEnhances(PackageReferenceList enhances); PackageReferenceList getRecommends(); void setRecommends(PackageReferenceList recommends); PackageReferenceList getReplaces(); void setReplaces(PackageReferenceList replaces); int compareTo(Package o); boolean isInstalled(); void setInstalled(boolean installed); Source getSource(); void setSource(Source source); String getChangeLog(); void setChangeLog(String changeLog); void updateFrom(Package pkg);  }
@Test public void testEqualsIgnoresTheChangeLog() { final Package pkg1 = new Package(); pkg1.setChangeLog("Changelog 1"); final Package pkg2 = new Package(); pkg2.setChangeLog("Changelog 1"); assertEquals(pkg1, pkg2); }