9192939495969798
private Gadget makeGadgetWithSpec(String gadgetXml) throws GadgetException { GadgetSpec spec = new GadgetSpec(SPEC_URL, gadgetXml); return new Gadget() .setContext(new GadgetContext()) .setPreloads(new NullPreloads()) .setSpec(spec); }