// Create inline script tag...
String scriptContents = getResourceAsString("sample_module_libs/non_amd/simple_deps/app.js");
Attributes attrs = new Attributes();
Element inlineScript = new Element(Tag.valueOf("script"), "", attrs);
document.appendChild(inlineScript);
inlineScript.html(scriptContents);
String comparison = StringEscapeUtils.unescapeHtml(webPage.retrieveScriptContents(inlineScript));
assertEquals(scriptContents.trim(), comparison.trim());
}