HtmlDoc { public String getFiltered() { return getFiltered(null); } HtmlDoc(String html); String getFiltered(); String getFiltered(String functionality); HtmlDoc modifyLinks(String baseUrl);  }
@Test public void getFiltered() { assertEquals("<h4><a>Allowed</a></h4>\n" + "<img>" + "<a href=\"https: }
@Test public void getFilteredNull() { assertNull(new HtmlDoc(null).getFiltered()); }
@Test public void getFilteredPlainText() { assertEquals("Hello world", new HtmlDoc("Hello world").getFiltered()); }