assertEquals(0, url.getParams().size());
}
public void testQueryParams1() throws Exception
{
EndpointURI url = new MuleEndpointURI("jnp://localhost:1099/BeeShirtsjnpServer?method=testMethod", muleContext);
url.initialise();
assertEquals("jnp", url.getScheme());
assertEquals("jnp://localhost:1099", url.getAddress());
assertEquals("/BeeShirtsjnpServer", url.getPath());
assertNull(url.getEndpointName());
assertEquals(1099, url.getPort());
assertEquals("localhost", url.getHost());
assertEquals("jnp://localhost:1099/BeeShirtsjnpServer?method=testMethod", url.toString());
assertEquals(1, url.getParams().size());
assertEquals("testMethod", url.getParams().getProperty(MuleProperties.MULE_METHOD_PROPERTY));
}