### Question:
InstanceAuditHeader extends InstanceElementHeader { @Override public String toString() { return "InstanceAuditHeader{" + "type=" + type + ", instanceProvenanceType=" + instanceProvenanceType + ", metadataCollectionId='" + metadataCollectionId + '\'' + ", metadataCollectionName='" + metadataCollectionName + '\'' + ", replicatedBy='" + replicatedBy + '\'' + ", instanceLicense='" + instanceLicense + '\'' + ", createdBy='" + createdBy + '\'' + ", updatedBy='" + updatedBy + '\'' + ", maintainedBy='" + maintainedBy + '\'' + ", createTime=" + createTime + ", updateTime=" + updateTime + ", version=" + version + ", statusOnDelete=" + statusOnDelete + ", status=" + getStatus() + ", mappingProperties=" + getMappingProperties() + '}'; } InstanceAuditHeader();  InstanceAuditHeader(InstanceAuditHeader template); long getHeaderVersion(); void setHeaderVersion(long headerVersion); InstanceType getType(); void setType(InstanceType type); InstanceProvenanceType getInstanceProvenanceType(); void setInstanceProvenanceType(InstanceProvenanceType instanceProvenanceType); String getMetadataCollectionId(); void setMetadataCollectionId(String metadataCollectionId); String getMetadataCollectionName(); void setMetadataCollectionName(String metadataCollectionName); String getReplicatedBy(); void setReplicatedBy(String replicatedBy); String getInstanceLicense(); void setInstanceLicense(String instanceLicense); InstanceStatus getStatus(); void setStatus(InstanceStatus newStatus); String getCreatedBy(); void setCreatedBy(String createdBy); String getUpdatedBy(); void setUpdatedBy(String updatedBy); List<String> getMaintainedBy(); void setMaintainedBy(List<String> maintainedBy); Date getCreateTime(); void setCreateTime(Date createTime); Date getUpdateTime(); void setUpdateTime(Date updateTime); long getVersion(); void setVersion(long version); InstanceStatus getStatusOnDelete(); void setStatusOnDelete(InstanceStatus statusOnDelete); Map<String, Serializable> getMappingProperties(); void setMappingProperties(Map<String, Serializable> mappingProperties); @Override String toString(); @Override boolean equals(Object objectToCompare); @Override int hashCode(); static final long CURRENT_AUDIT_HEADER_VERSION; }### Answer:
@Test public void testToString() { assertTrue(getTestObject().toString().contains("InstanceAuditHeader")); }