assertEquals("1", url.getParams().getProperty("param"));
}
public void testQueryParams2() throws Exception
{
EndpointURI url = new MuleEndpointURI(
"ssl://localhost:7856?param=1&endpointName=sslProvider&blankParam=", muleContext);
url.initialise();
assertEquals("ssl", url.getScheme());
assertEquals("ssl://localhost:7856", url.getAddress());
assertNotNull(url.getEndpointName());
assertEquals("sslProvider", url.getEndpointName());
assertEquals(7856, url.getPort());
assertEquals("localhost", url.getHost());
assertEquals("ssl://localhost:7856?param=1&endpointName=sslProvider&blankParam=", url.toString());
assertEquals("param=1&endpointName=sslProvider&blankParam=", url.getQuery());
assertEquals(3, url.getParams().size());
assertEquals("1", url.getParams().getProperty("param"));
assertEquals("", url.getParams().getProperty("blankParam"));
}