/**
* Test that the URI specified on the setAddress method is returned by getAddress.
*/
public void testSetAndGetAddressFromOM() throws Exception{
EndpointElement endpoint = new EndpointImpl();
URI uri = new URI("urn:dummy");
endpoint.setAddress(uri);
assertTrue("URI returned by EndpointElement.getAddress() was not the one set by setAddress().",
"urn:dummy".equals(endpoint.getAddress().toString()));
}