RemoteWebPage webPage = new RemoteWebPage(document, new URL("http://localhost/"), mockHttpClient);
// Create inline script tag...
String scriptContents = getResourceAsString("sample_module_libs/non_amd/simple_deps/app.js");
Attributes attrs = new Attributes();
attrs.put("src", "app.js");
Element inlineScript = new Element(Tag.valueOf("script"), "http://localhost/", attrs);
// Set pre-canned response
mockHttpClient.hostPrefix = "http://localhost/";
mockHttpClient.appDir = "sample_module_libs/non_amd/simple_deps/";