### Question:
DigitalService extends DigitalServiceElementHeader { @Override public String toString() { return "DigitalService{" + "name='" + displayName + '\'' + ", description='" + description + '\'' + ", version='" + version + '\'' + '}'; } DigitalService();  DigitalService(DigitalService template); String getVersion(); void setVersion(String version); String getDisplayName(); void setDisplayName(String displayName); String getDescription(); void setDescription(String description); @Override String toString(); @Override boolean equals(Object objectToCompare); @Override int hashCode();  }### Answer:
@Test public void testToString() { assertTrue(getTestObject().toString().contains("DigitalService")); }