### Question:
InstanceHeader extends InstanceAuditHeader { @Override public String toString() { return "InstanceHeader{" + "guid='" + guid + '\'' + ", instanceURL='" + instanceURL + '\'' + ", type=" + getType() + ", instanceProvenanceType=" + getInstanceProvenanceType() + ", metadataCollectionId='" + getMetadataCollectionId() + '\'' + ", metadataCollectionName='" + getMetadataCollectionName() + '\'' + ", instanceLicense='" + getInstanceLicense() + '\'' + ", status=" + getStatus() + ", createdBy='" + getCreatedBy() + '\'' + ", updatedBy='" + getUpdatedBy() + '\'' + ", createTime=" + getCreateTime() + ", updateTime=" + getUpdateTime() + ", version=" + getVersion() + ", statusOnDelete=" + getStatusOnDelete() + '}'; } InstanceHeader();  InstanceHeader(InstanceHeader    template); String getInstanceURL(); void setInstanceURL(String instanceURL); String getGUID(); void setGUID(String guid); @Override String toString(); @Override boolean equals(Object objectToCompare); @Override int hashCode();  }### Answer:
@Test public void testToString() { assertTrue(getTestObject().toString().contains("InstanceHeader")); }