assertEquals("jms://user:****@topic:topic1", url.toString());
}
public void testJmsTopicWithUserInfoAndProvider() throws Exception
{
EndpointURI url = new MuleEndpointURI("jms://user:password@topic:topic1?endpointName=jmsProvider", muleContext);
url.initialise();
assertEquals("jms", url.getScheme());
assertEquals("topic1", url.getAddress());
assertEquals("jmsProvider", url.getEndpointName());
assertEquals("topic", url.getResourceInfo());
assertEquals("user:password", url.getUserInfo());
assertEquals("user", url.getUser());
assertEquals("password", url.getPassword());
assertEquals("jms://user:****@topic:topic1?endpointName=jmsProvider", url.toString());
}