}
@Test
public void non_asset_script_link_disables_aggregation() throws Exception
{
Document document = new Document();
document.newRootElement("html").element("body").element("p").text("Ready to be updated with scripts.");
DocumentLinkerImpl linker = new DocumentLinkerImpl(true, "1.2.3", true);
linker.addScriptLink("/context/foo.js");
linker.updateDocument(document);
Element script = document.getRootElement().find("head/script");
String assetURL = script.getAttribute("src");
assertEquals(assetURL, "/context/foo.js");
}