### Question:
Relationship extends InstanceHeader { @Override public String toString() { return "Relationship{" + "type=" + getType() + ", relationshipProperties=" + relationshipProperties + ", entityOneProxy=" + entityOneProxy + ", entityTwoProxy=" + entityTwoProxy + ", instanceURL='" + getInstanceURL() + '\'' + ", GUID='" + getGUID() + '\'' + ", instanceProvenanceType=" + getInstanceProvenanceType() + ", metadataCollectionId='" + getMetadataCollectionId() + '\'' + ", metadataCollectionName='" + getMetadataCollectionName() + '\'' + ", instanceLicense='" + getInstanceLicense() + '\'' + ", status=" + getStatus() + ", createdBy='" + getCreatedBy() + '\'' + ", updatedBy='" + getUpdatedBy() + '\'' + ", createTime=" + getCreateTime() + ", updateTime=" + getUpdateTime() + ", version=" + getVersion() + ", statusOnDelete=" + getStatusOnDelete() + '}'; } Relationship();  Relationship(Relationship templateElement); boolean relatedToEntity(String  entityGUID); String returnLinkedEntity(String  entityGUID); InstanceProperties getProperties(); void setProperties(InstanceProperties  newProperties); EntityProxy getEntityOneProxy(); void setEntityOneProxy(EntityProxy entityOneProxy); EntityProxy getEntityTwoProxy(); void setEntityTwoProxy(EntityProxy entityTwoProxy); @Override String toString(); @Override boolean equals(Object objectToCompare); @Override int hashCode();  }### Answer:
@Test public void testToString() { assertTrue(getTestObject().toString().contains("Relationship")); }