RhqDownloadsScriptSourceProvider provider = new RhqDownloadsScriptSourceProvider();
StandardBindings bindings = new StandardBindings(null, client);
provider.rhqFacadeChanged(bindings);
URI location = new URI("rhq://downloads/test-script.js");
//let's actually cheat - the source provider will try to locate the script using HTTP
//but we subvert that and use the local file URL anyway...