assertEquals("foo://bar?cname=cvalue&aname=avalue&bname=bvalue", uri.toString());
}
public void testFromString()
{
URIBuilder uri = new URIBuilder("test://bar", muleContext);
EndpointURI endpointURI = uri.getEndpoint();
assertEquals("test://bar", endpointURI.getUri().toString());
assertEquals("test", endpointURI.getSchemeMetaInfo());
uri = new URIBuilder("meta:test://bar", muleContext);
endpointURI = uri.getEndpoint();
assertEquals("test://bar", endpointURI.getUri().toString());
assertEquals("meta", endpointURI.getSchemeMetaInfo());
}