String result = conv.toWiki(new ToMoinMoin());
assertEquals(result, "'''hello''world'''''");
}
public void test1() {
HTML2WikiConverter conv = new HTML2WikiConverter();
conv
.setInputHTML("<ul><li>hello world<ol><li>hello subworld1<ul><li>sub sub test1</li>\n<li>sub sub test2</li></ul></li><li>hello subworld2</li></ol></li><li>second line</li></ul>");
String result = conv.toWiki(new ToMoinMoin());
assertEquals(result, "\n" + "* hello world\n" + " 1. hello subworld1\n" + " * sub sub test1\n"
+ " * sub sub test2\n" + " 1. hello subworld2\n" + "* second line\n" + "");
}