setupGadget(getGadgetXml(contentWithDataRequest));
Map<PipelinedData, ? extends Object> pipelines =
rewriter.parsePipelinedData(gadget, content.getDocument());
assertEquals(1, pipelines.size());
PipelinedData pipeline = pipelines.keySet().iterator().next();
PipelinedData.Batch batch = pipeline.getBatch(Expressions.forTesting(), new RootELResolver());
Map<String, PipelinedData.BatchItem> preloads = batch.getPreloads();
assertTrue(preloads.containsKey("me"));
assertEquals(PipelinedData.BatchType.SOCIAL, preloads.get("me").getType());
JsonAssert.assertObjectEquals(