protected static TikaInputStream getTestFile(String filename) throws Exception {
        URL input =
                AbstractPOIContainerExtractionTest.class.getResource("/test-documents/" + filename);
        assertNotNull(input, filename + " not found");

        return TikaInputStream.get(input);
    }
Parent class of tests that the various POI powered parsers are
able to extract their embedded contents.
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-microsoft-module/src/test/java/org/apache/tika/parser/microsoft/AbstractPOIContainerExtractionTest.java