### Question:
HTMLParser { public static String unsafeRemoveAllTags(String html) { return html.replaceAll("\\<.*?>"," "); }  static String replaceImgWithAlt(String html); static String removeComments(String html); static String unsafeRemoveAllTags(String html); static String safeRemoveAllTags(String html); static String removeNonTextTagsAndAttributes(String html); static String extractText(String html); static String extractTitle(String html); static Map<HyperlinkPart, List<String>> extractHyperlinks(String html); static Map<String, String> extractMetatags(String html); static Map<String, List<String>> extractHTMLheaders(String html);  }### Answer:
@Test public void testUnsafeRemoveAllTags() { logger.info("unsafeRemoveAllTags"); String text = "some <a href=\"asd\">hyperlink</a> and <br/> some <br> more<br><span>text</span> here"; String expResult = "some hyperlink and some more text here"; String result = HTMLParser.unsafeRemoveAllTags(text); assertEquals(expResult, result); }