@Test
    public void testNormalCharacters() throws SAXException {
        safe.characters("abc".toCharArray(), 0, 3);
        assertEquals("abc", output.toString());
    }
Unit tests for the {@link SafeContentHandler} class.
tika-core/src/test/java/org/apache/tika/sax/SafeContentHandlerTest.java