### Question:
UtilHtmlSanitizer { public String safeEscapeHtml( String html ) { return StringEscapeUtils.escapeHtml( StringEscapeUtils.unescapeHtml( html ) ); } private  UtilHtmlSanitizer(); static synchronized UtilHtmlSanitizer getInstance(); void sanitizeConnectionParameters( IDatabaseConnection connection ); void unsanitizeConnectionParameters( IDatabaseConnection connection ); String safeEscapeHtml( String html ); String escape( String stringToEscape );  }### Answer:
@Test public void testSafeEscapeHtml() { String unsanitizedName = "<font color=\"red\">\"AAAAAAAAAAAA\""; String sanitizedName = "&lt;font color=&quot;red&quot;&gt;&quot;AAAAAAAAAAAA&quot;"; assertEquals( sanitizedName, sanitizer.safeEscapeHtml( unsanitizedName ) ); assertEquals( sanitizedName, sanitizer.safeEscapeHtml( sanitizedName ) ); }