Exemplo n.º 1
0
 public void testRemoveHTML() {
   String s = "<p>This is a paragraph of text.</p><b>A bold text</b> and another text.";
   String output = StringUtil.removeHTML(s);
   System.out.println("output: " + output);
   assertEquals(output, "This is a paragraph of text.A bold text and another text.");
 }