### Question:
InformalTag extends ElementHeader { @Override public String toString() { return "InformalTag{" + "isPrivateTag=" + isPrivateTag + ", name='" + name + '\'' + ", description='" + description + '\'' + ", user='" + user + '\'' + ", type=" + type + ", guid='" + guid + '\'' + ", url='" + url + '\'' + ", classifications=" + classifications + '}'; } InformalTag();  InformalTag(InformalTag templateInformalTag); boolean isPublic(); void setPublic(boolean aPublic); boolean isPrivateTag(); void setPrivateTag(boolean privateTag); String getUser(); void setUser(String user); String getName(); void setName(String name); String getDescription(); void setDescription(String tagDescription); @Override String toString(); @Override boolean equals(Object objectToCompare);  }### Answer:
@Test public void testToString() { assertTrue(getTestObject().toString().contains("InformalTag")); }