### Question:
Destination extends ManageableComponent implements java.io.Serializable { public void setSecurityConstraint(SecurityConstraint securityConstraint) { this.securityConstraint = securityConstraint; } Destination();  Destination(boolean enableManagement); @Override void initialize(String id, ConfigMap properties); boolean isInitialized(); @Override void start(); @Override void stop(); ServiceAdapter getAdapter(); ServiceAdapter createAdapter(String id); void setAdapter(ServiceAdapter adapter); boolean isBackendShared(); List<String> getChannels(); void addChannel(String id); boolean removeChannel(String id); void setChannels(List<String> ids); boolean isClustered(); @Override void setId(String id); NetworkSettings getNetworkSettings(); void setNetworkSettings(NetworkSettings networkSettings); Service getService(); void setService(Service service); String getServiceType(); SecurityConstraint getSecurityConstraint(); void setSecurityConstraint(SecurityConstraint securityConstraint); void setSecurityConstraint(String ref); ConfigMap describeDestination(); ConfigMap describeDestination(boolean onlyReliable); void addExtraProperty(String name, Object value); Object getExtraProperty(String name); static final String LOG_CATEGORY; static final String PUSH_DESTINATION_ID; }### Answer:
@Test public void testSetSecurityConstraint() { SecurityConstraint sc = new SecurityConstraint(); destination.setSecurityConstraint(sc); SecurityConstraint actual = destination.getSecurityConstraint(); Assert.assertEquals(sc, actual); }