processor.context = new TemplateContext(gadget, Collections.<String, JSONObject>emptyMap());
Injector injector = Guice.createInjector(new ParseModule(), new PropertiesModule());
documentProvider = injector.getInstance(DOMImplementation.class);
parser = injector.getInstance(NekoSimplifiedHtmlParser.class);
featureRegistry = mock(FeatureRegistry.class, true);
handler = new FlashTagHandler(new BeanJsonConverter(injector), featureRegistry,
"http://example.org/ns", "9.0.115");
result = parser.parseDom("");
EasyMock.expect(gadget.getContext()).andReturn(gadgetContext).anyTimes();
}