import org.mule.umo.endpoint.UMOEndpointURI;
public class HttpEndpointTestCase extends AbstractMuleTestCase
{
public void testHostPortOnlyUrl() throws Exception
{
<BUG>UMOEndpointURI endpointUri = new MuleEndpointURI("http://localhost:8080");
assertEquals("http", endpointUri.getScheme());</BUG>
assertEquals("http://localhost:8080", endpointUri.getAddress());
assertNull(endpointUri.getEndpointName());
assertEquals(8080, endpointUri.getPort());

import org.mule.umo.endpoint.UMOEndpointURI;
public class HttpEndpointTestCase extends AbstractMuleTestCase
{
public void testHostPortOnlyUrl() throws Exception
{
UMOEndpointURI endpointUri = new MuleEndpointURI("http://localhost:8080");
endpointUri.initialise();
assertEquals("http", endpointUri.getScheme());
assertEquals("http://localhost:8080", endpointUri.getAddress());
assertNull(endpointUri.getEndpointName());
assertEquals(8080, endpointUri.getPort());
