### Question:
Connection extends Referenceable { @Override public String toString() { return "Connection{" + "displayName='" + displayName + '\'' + ", description='" + description + '\'' + ", connectorType=" + connectorType + ", endpoint=" + endpoint + ", userId='" + userId + '\'' + ", configurationProperties=" + configurationProperties + ", qualifiedName='" + getQualifiedName() + '\'' + ", additionalProperties=" + getAdditionalProperties() + ", extendedProperties=" + getExtendedProperties() + ", meanings=" + getMeanings() + ", type=" + getType() + ", GUID='" + getGUID() + '\'' + ", URL='" + getURL() + '\'' + ", classifications=" + getClassifications() + '}'; } Connection();  Connection(Connection template); static ElementType getConnectionType(); String getDisplayName(); void setDisplayName(String displayName); void setDescription(String description); String getDescription(); void setConnectorType(ConnectorType connectorType); ConnectorType getConnectorType(); String getUserId(); void setUserId(String userId); String getEncryptedPassword(); void setEncryptedPassword(String encryptedPassword); String getClearPassword(); void setClearPassword(String clearPassword); void setEndpoint(Endpoint endpoint); Endpoint getEndpoint(); void setConfigurationProperties(Map<String,Object> configurationProperties); Map<String,Object> getConfigurationProperties(); void setSecuredProperties(Map<String,Object> securedProperties); Map<String,Object> getSecuredProperties(); @Override String toString(); @Override boolean equals(Object objectToCompare); @Override int hashCode();  }### Answer:
@Test public void testToString() { assertTrue(getTestObject().toString().contains("Connection")); }