assertEquals("0", jsUri.getQueryParameter(Param.CONTAINER_MODE.getKey()));
}
@Test
public void makeJsUriWithContainerContext() {
ContainerConfig config = mockConfig("http://www.js.org", "/gadgets/js/");
TestDefaultJsUriManager manager = makeManager(config, null);
Gadget gadget = mockGadget(false, false, true);
List<String> extern = Lists.newArrayList("feature", "another");
Uri jsUri = manager.makeExternJsUri(gadget, extern);
assertFalse(manager.hadError());