};
jsServingPipeline = createMock(JsServingPipeline.class);
Map<String, ConfigContributor> configContributors = ImmutableMap.<String, ConfigContributor>of(
"core.util", new CoreUtilConfigContributor(featureRegistry,
gadgetAdminStore),
"shindig.xhrwrapper", new XhrwrapperConfigContributor()
);
rewriter
= new RenderingGadgetRewriter(messageBundleFactory, expressions, config, featureRegistryProvider,
jsServingPipeline, jsUriManager,
new DefaultConfigProcessor(configContributors, config), gadgetAdminStore);