*/
public class UriConfigurationTest extends TestCase {
public void testUriConfiguration() throws Exception {
ServiceEndpoint serviceEndpoint = new ResolvedEndpoint("xmpp://servicemix-user@localhost/test-user@localhost", new QName("test"));
XMPPComponent component = new XMPPComponent();
PrivateChatEndpoint endpoint = (PrivateChatEndpoint) component.createEndpoint(serviceEndpoint);
assertNotNull("Should have created an endpoint", endpoint);