@Test
public void testExecute() throws Exception {

    HtmlSanitizer sanitizer = new HtmlSanitizer();
    assertEquals("&gt;&lt;iframe src='external.html'&gt;&lt;/iframe&gt;", sanitizer.execute("><iframe src='external.html'></iframe>"));
    assertEquals("&gt;&lt;script&gt;alert('hack!');&lt;/script&gt;", sanitizer.execute("><script>alert('hack!');</script>"));
}