### Question:
Comment extends Referenceable { @Override public String toString() { return "Comment{" + "commentType=" + commentType + ", commentText='" + commentText + '\'' + ", user='" + user + '\'' + ", isPublic='" + isPublic + '\'' + ", type=" + type + ", guid='" + guid + '\'' + ", url='" + url + '\'' + ", classifications=" + classifications + '}'; } Comment();  Comment(Comment template); CommentType getCommentType(); void setCommentType(CommentType commentType); String getCommentText(); void setCommentText(String commentText); String getUser(); void setUser(String user); boolean isPublic(); void setPublic(boolean aPublic); @Override String toString(); @Override boolean equals(Object objectToCompare);  }### Answer:
@Test public void testToString() { assertTrue(getTestObject().toString().contains("Comment")); }