### Question:
CommentRequestBody extends FeedbackRequestBody { @Override public int hashCode() { return Objects.hash(getCommentType(), getCommentText(), isPublic()); } CommentRequestBody();  CommentRequestBody(CommentRequestBody template); CommentType getCommentType(); void setCommentType(CommentType commentType); String getCommentText(); void setCommentText(String commentText); @Override String toString(); @Override boolean equals(Object objectToCompare); @Override int hashCode();  }### Answer:
@Test public void testHashCode() { assertTrue(getTestObject().hashCode() == getTestObject().hashCode()); }