### Question:
Conflict { public int hashCode() { return Objects.hash(ancestor, theirs, ours, path); } Conflict(@NonNull String path, @NonNull ObjectId ancestor, @NonNull ObjectId ours,
            @NonNull ObjectId theirs); ObjectId getAncestor(); ObjectId getOurs(); ObjectId getTheirs(); String getPath(); boolean equals(Object x); int hashCode(); String toString();  }### Answer:
@Test public void testHashCode() { ObjectId id1 = ObjectId.valueOf("abc123000000000000001234567890abcdef0000"); ObjectId id2 = ObjectId.valueOf("abc123000000000000001234567890abcdef0001"); ObjectId id3 = ObjectId.valueOf("abc123000000000000001234567890abcdef0002"); ObjectId id4 = ObjectId.valueOf("abc123000000000000001234567890abcdef0003"); Conflict conflict1 = new Conflict("Points/1", id1, id2, id3); Conflict conflict2 = new Conflict("Points/2", id1, id2, id3); Conflict conflict3 = new Conflict("Points/1", id4, id2, id3); Conflict conflict4 = new Conflict("Points/1", id1, id4, id3); Conflict conflict5 = new Conflict("Points/1", id1, id2, id4); assertNotSame(conflict1.hashCode(), conflict2.hashCode()); assertNotSame(conflict1.hashCode(), conflict3.hashCode()); assertNotSame(conflict1.hashCode(), conflict4.hashCode()); assertNotSame(conflict1.hashCode(), conflict5.hashCode()); assertNotSame(conflict2.hashCode(), conflict3.hashCode()); assertNotSame(conflict2.hashCode(), conflict4.hashCode()); assertNotSame(conflict2.hashCode(), conflict5.hashCode()); assertNotSame(conflict3.hashCode(), conflict4.hashCode()); assertNotSame(conflict3.hashCode(), conflict5.hashCode()); assertNotSame(conflict4.hashCode(), conflict5.hashCode()); }