assertEquals("mqs://QMgr/topic:my.topic", uri.toString());
}
public void testTopicWithQMAndUserInfo() throws Exception
{
UMOEndpointURI uri = new MuleEndpointURI("mqs://user:password@QMgr/topic:my.topic");
assertEquals("mqs", uri.getScheme());
assertEquals("my.topic", uri.getAddress());
assertNull(uri.getEndpointName());
assertEquals("QMgr", uri.getParams().getProperty("queueManager"));
assertEquals("mqs", uri.getSchemeMetaInfo());
assertEquals("user:password", uri.getUserInfo());
assertEquals("user", uri.getUsername());
assertEquals("password", uri.getPassword());
assertEquals("mqs://user:password@QMgr/topic:my.topic", uri.toString());
}