public class VMEndpointTestCase extends AbstractMuleTestCase
{
public void testUrlWithProvider() throws Exception
{
EndpointURI url = new MuleEndpointURI("vm://some.queue?endpointName=vmProvider", muleContext);
url.initialise();
assertEquals(VMConnector.VM, url.getScheme());
assertEquals("some.queue", url.getAddress());
assertEquals("vmProvider", url.getEndpointName());
assertEquals("vm://some.queue?endpointName=vmProvider", url.toString());
assertEquals(1, url.getParams().size());