private void assertEmbeddedFiles(int expectedNbFiles, String file) throws Exception {
        // Process it without recursing
        TrackingHandler handler = process(file, extractor, false);

        // Won't have fired
        assertEquals(expectedNbFiles, handler.filenames.size());
        assertEquals(expectedNbFiles, handler.mediaTypes.size());

        // Ditto with recursing
        handler = process(file, extractor, true);
        assertEquals(expectedNbFiles, handler.filenames.size());
        assertEquals(expectedNbFiles, handler.mediaTypes.size());
    }
For office files which don't have anything embedded in them
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-microsoft-module/src/test/java/org/apache/tika/parser/microsoft/ooxml/OOXMLContainerExtractionTest.java