### Question:
RelationshipDef extends TypeDef { @Override public String toString() { return "RelationshipDef{" + "name='" + getName() + '\'' + ", description='" + getDescription() + '\'' + ", endDef1=" + endDef1 + ", endDef2=" + endDef2 + ", superType=" + getSuperType() + ", descriptionGUID='" + getDescriptionGUID() + '\'' + ", origin='" + getOrigin() + '\'' + ", createdBy='" + getCreatedBy() + '\'' + ", updatedBy='" + getUpdatedBy() + '\'' + ", createTime=" + getCreateTime() + ", updateTime=" + getUpdateTime() + ", options=" + getOptions() + ", externalStandardMappings=" + getExternalStandardMappings() + ", validInstanceStatusList=" + getValidInstanceStatusList() + ", initialStatus=" + getInitialStatus() + ", propertiesDefinition=" + getPropertiesDefinition() + ", category=" + getCategory() + ", propagationRule=" + propagationRule + ", version=" + getVersion() + ", versionName='" + getVersionName() + '\'' + ", GUID='" + getGUID() + '\'' + '}'; } RelationshipDef();  RelationshipDef(TypeDefCategory category,
                           String          guid,
                           String          name,
                           long            version,
                           String          versionName);  RelationshipDef(RelationshipDef templateTypeDef); TypeDef cloneFromSubclass(); ClassificationPropagationRule getPropagationRule(); void setPropagationRule(ClassificationPropagationRule propagationRule); RelationshipEndDef getEndDef1(); void setEndDef1(RelationshipEndDef endDef1); RelationshipEndDef getEndDef2(); void setEndDef2(RelationshipEndDef endDef2); @Override String toString(); @Override boolean equals(Object objectToCompare);  }### Answer:
@Test public void testToString() { assertTrue(getTestObject().toString().contains("RelationshipDef")); }