@SuppressWarnings("unchecked")
@Test
public void testRun() throws Exception
{
MapContent2HtmlDocument sourceGenerator = new MapContent2HtmlDocument();
HtmlDocument2DoxiaConverter converter = new HtmlDocument2DoxiaConverter();
converter.setSink(new LoggingSink());
HashMap<String, String> demoMap = new HashMap<String, String>();
demoMap.put("key1", "value1");
demoMap.put("key2", "value2");
converter.setHtml(CollectionFactory.getDefault().createMap(HTML.Tag.HTML, sourceGenerator.value(demoMap)));
converter.run();
}