### Question:
PageCompareDataLineImpl implements PageCompareDataLine { @Override public int hashCode() { return new HashCodeBuilder(79, 11) .append(path) .append(name) .append(value).toHashCode(); } PageCompareDataLineImpl(Property property, String basePath, int depth);   PageCompareDataLineImpl(Resource resource, String basePath, int depth); @Override boolean equals(Object obj); @Override int hashCode(); @Override String getPath(); @Override String getUniqueName(); @Override String getName(); @Override String getValueString(); @Override String getValueStringShort(); @Override int getDepth();  }### Answer:
@Test public void hashCode_sameValues_sameHashCode() throws Exception { Property property = mockProperty("myValue", "/base/path/relative/path/jcr:content", "propertyName"); Property property2 = mockProperty("myValue", "/base/path/relative/path/jcr:content", "propertyName"); PageCompareDataLineImpl underTest = new PageCompareDataLineImpl(property, "/base/path", 1); PageCompareDataLineImpl underTest2 = new PageCompareDataLineImpl(property2, "/base/path", 1); assertEquals(underTest.hashCode(), underTest2.hashCode()); }