expressions = Expressions.forTesting();
variables = Maps.newHashMap();
Set<TagHandler> handlers = ImmutableSet.of((TagHandler) new RenderTagHandler());
registry = new DefaultTagRegistry(handlers);
processor = new DefaultTemplateProcessor(expressions);
resolver = new RootELResolver();
parser = new NekoSimplifiedHtmlParser(new ParseModule.DOMImplementationProvider().get());
Gadget gadget = new Gadget();
gadget.setContext(new GadgetContext());
context = new TemplateContext(gadget, variables);