### Question:
Rating extends ElementHeader { @Override public String toString() { return "Rating{" + "starRating=" + starRating + ", review='" + review + '\'' + ", user='" + user + '\'' + ", isPublic='" + isPublic + '\'' + ", type=" + type + ", guid='" + guid + '\'' + ", url='" + url + '\'' + ", classifications=" + classifications + '}'; } Rating();  Rating(Rating template); String getUser(); void setUser(String user); StarRating getStarRating(); void setStarRating(StarRating starRating); String getReview(); void setReview(String review); boolean isPublic(); void setPublic(boolean aPublic); @Override String toString(); @Override boolean equals(Object objectToCompare);  }### Answer:
@Test public void testToString() { assertTrue(getTestObject().toString().contains("Rating")); }