protected Document result;
@Before
public void setUp() throws Exception {
processor = new MyTemplateProcessor();
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,