### Question:
RatingRequestBody extends FeedbackRequestBody { @Override public int hashCode() { return Objects.hash(getStarRating(), getReview(), isPublic()); } RatingRequestBody();  RatingRequestBody(RatingRequestBody template); StarRating getStarRating(); void setStarRating(StarRating starRating); String getReview(); void setReview(String review); @Override String toString(); @Override boolean equals(Object objectToCompare); @Override int hashCode();  }### Answer:
@Test public void testHashCode() { assertTrue(getTestObject().hashCode() == getTestObject().hashCode()); }