connector.registerListener(component, endpoint);
fail("cannot register with null endpointUri");
}
catch (Exception e)
}
<BUG>endpoint.setEndpointURI(null);</BUG>
try
<BUG>{
connector.registerListener(component, endpoint);</BUG>
fail("cannot register with empty endpointUri");

connector.registerListener(component, endpoint);
fail("cannot register with null endpointUri");
}
catch (Exception e)
