### Question:
DigitalService extends DataPrivacyElementHeader { @Override public String toString() { return "DigitalService{" + "url='" + url + '\'' + ", guid='" + guid + '\'' + ", typeId='" + typeId + '\'' + ", typeName='" + typeName + '\'' + ", typeVersion=" + typeVersion + ", typeDescription='" + typeDescription + '\'' + ", qualifiedName='" + qualifiedName + '\'' + ", displayName='" + displayName + '\'' + ", description='" + description + '\'' + ", additionalProperties='" + additionalProperties + '\'' + ", classifications='" + classifications + '\'' + '}'; } DigitalService();  DigitalService(DigitalService template); String getURL(); void setURL(String url); String getGUID(); void setGUID(String guid); String getTypeId(); void setTypeId(String typeId); String getTypeName(); void setTypeName(String typeName); long getTypeVersion(); void setTypeVersion(long typeVersion); String getTypeDescription(); void setTypeDescription(String typeDescription); String getQualifiedName(); void setQualifiedName(String qualifiedName); String getDisplayName(); void setDisplayName(String displayName); String getDescription(); void setDescription(String description); DigitalServiceImplementationStyle getImplementationStyle(); void setImplementationStyle(DigitalServiceImplementationStyle implementationStyle); DigitalServiceStatus getStatus(); void setStatus(DigitalServiceStatus status); DigitalServiceVisibility getVisibility(); void setVisibility(DigitalServiceVisibility visibility); DigitalServiceResponsibility getResponsibility(); void setResponsibility(DigitalServiceResponsibility responsibility); Map<String, Object> getAdditionalProperties(); void setAdditionalProperties(Map<String, Object> additionalProperties); List<Classification> getClassifications(); void setClassifications(List<Classification> classifications); @Override String toString(); @Override boolean equals(Object objectToCompare); @Override int hashCode();  }### Answer:
@Test public void testToString() { assertTrue(getTestObject().toString().contains("DigitalService")); }