@BeforeEach
    public void setUp() throws Exception {
        parser = SAXParserFactory.newInstance().newSAXParser();
        offline = new OfflineContentHandler(new DefaultHandler());
    }
Unit tests for the {@link OfflineContentHandler} class.
tika-core/src/test/java/org/apache/tika/sax/OfflineContentHandlerTest.java