public String parseEmbeddedExample() throws IOException, SAXException, TikaException {
        AutoDetectParser parser = new AutoDetectParser();
        BodyContentHandler handler = new BodyContentHandler();
        Metadata metadata = new Metadata();
        ParseContext context = new ParseContext();
        context.set(Parser.class, parser);
        try (InputStream stream = ParsingExample.class.getResourceAsStream("test_recursive_embedded.docx")) {
            parser.parse(stream, handler, metadata, context);
            return handler.toString();
        }
    }
@Test
    public void testRecursiveParseExample() throws IOException, SAXException, TikaException {
        String result = parsingExample.parseEmbeddedExample();
        assertContains("embed_0", result);
        assertContains("embed1/embed1a.txt", result);
        assertContains("embed3/embed3.txt", result);
        assertContains("When in the Course", result);
    }