### Question:
TextSanitizer extends Sanitizer { @Override public Object santize(Object fieldData) { if (fieldData == null) { return fieldData; } else { String safe = Jsoup.clean(fieldData.toString(), Whitelist.none()); safe = safe.replace("&amp;", "&"); String lineSeparator = Character.toString((char) 0x2028); safe = safe.replace(lineSeparator, "\n"); return safe; } }  @Override Object santize(Object fieldData);  }### Answer:
@Test public void santizeTest() { TextSanitizer sanitizer = new TextSanitizer(); Object result = sanitizer.santize(input); assertEquals(expectedOutput, result); }