### Question:
Endpoint extends Referenceable { @Override public String toString() { return "Endpoint{" + "displayName='" + displayName + '\'' + ", description='" + description + '\'' + ", address='" + address + '\'' + ", protocol='" + protocol + '\'' + ", encryptionMethod='" + encryptionMethod + '\'' + ", qualifiedName='" + qualifiedName + '\'' + ", additionalProperties=" + additionalProperties + ", type=" + type + ", guid='" + guid + '\'' + ", url='" + url + '\'' + ", classifications=" + classifications + '}'; } Endpoint();  Endpoint(Endpoint templateEndpoint); static ElementType getEndpointType(); void setDisplayName(String displayName); String getDisplayName(); void setDescription(String description); String getDescription(); void setAddress(String address); String getAddress(); void setProtocol(String protocol); String getProtocol(); void setEncryptionMethod(String encryptionMethod); String getEncryptionMethod(); @Override String toString(); @Override boolean equals(Object objectToCompare);  }### Answer:
@Test public void testToString() { assertTrue(getTestObject().toString().contains("Endpoint")); }