### Question:
TypeDefPatch extends TypeDefElementHeader { @Override public String toString() { return "TypeDefPatch{" + "typeDefGUID='" + typeDefGUID + '\'' + ", typeDefName='" + typeDefName + '\'' + ", typeDefStatus='" + typeDefStatus + '\'' + ", applyToVersion=" + applyToVersion + ", updateToVersion=" + updateToVersion + ", newVersionName='" + newVersionName + '\'' + ", description='" + description + '\'' + ", descriptionGUID='" + descriptionGUID + '\'' + ", propertyDefinitions=" + propertyDefinitions + ", typeDefOptions=" + typeDefOptions + ", externalStandardMappings=" + externalStandardMappings + ", validInstanceStatusList=" + validInstanceStatusList + ", initialStatus=" + initialStatus + ", validEntityDefs=" + validEntityDefs + ", endDef1=" + endDef1 + ", endDef2=" + endDef2 + '}'; } TypeDefPatch();  TypeDefPatch(TypeDefPatch   template); String getTypeDefGUID(); void setTypeDefGUID(String typeDefGUID); String getTypeDefName(); void setTypeDefName(String typeDefName); TypeDefStatus getTypeDefStatus(); void setTypeDefStatus(TypeDefStatus typeDefStatus); long getApplyToVersion(); void setApplyToVersion(long applyToVersion); long getUpdateToVersion(); void setUpdateToVersion(long updateToVersion); String getNewVersionName(); void setNewVersionName(String newVersionName); String getUpdatedBy(); void setUpdatedBy(String updatedBy); Date getUpdateTime(); void setUpdateTime(Date updateTime); String getDescription(); void setDescription(String description); String getDescriptionGUID(); void setDescriptionGUID(String descriptionGUID); List<TypeDefAttribute> getPropertyDefinitions(); void setPropertyDefinitions(List<TypeDefAttribute> propertyDefinitions); Map<String, String> getTypeDefOptions(); void setTypeDefOptions(Map<String, String> typeDefOptions); List<ExternalStandardMapping> getExternalStandardMappings(); void setExternalStandardMappings(List<ExternalStandardMapping> externalStandardMappings); List<InstanceStatus> getValidInstanceStatusList(); void setValidInstanceStatusList(List<InstanceStatus> validInstanceStatusList); InstanceStatus getInitialStatus(); void setInitialStatus(InstanceStatus initialStatus); List<TypeDefLink> getValidEntityDefs(); void setValidEntityDefs(List<TypeDefLink> validEntityDefs); RelationshipEndDef getEndDef1(); void setEndDef1(RelationshipEndDef endDef1); RelationshipEndDef getEndDef2(); void setEndDef2(RelationshipEndDef endDef2); @Override String toString(); @Override boolean equals(Object objectToCompare); @Override int hashCode();  }### Answer:
@Test public void testToString() { assertTrue(getTestObject().toString().contains("TypeDefPatch")); }