### Question:
EndpointProperties extends AssetReferenceable { @Override public String toString() { return endpointBean.toString(); } EndpointProperties(Endpoint  endpointBean);  EndpointProperties(AssetDescriptor parentAsset,
                              Endpoint        endpointBean);  EndpointProperties(EndpointProperties templateEndpoint);  EndpointProperties(AssetDescriptor    parentAsset,
                              EndpointProperties templateEndpoint); String getDisplayName(); String getDescription(); String getAddress(); String getProtocol(); String getEncryptionMethod(); @Override String toString(); @Override boolean equals(Object objectToCompare);  }### Answer:
@Test public void testToString() { assertTrue(getTestObject().toString().contains("Endpoint")); }