@Test
    public void testParseNumbersTableHeaders() throws Exception {
        String content = getText("tableHeaders.numbers");
        for (int header = 1; header <= 5; header++) {
            assertContains("header" + header, content);
        }
        for (int row = 1; row <= 3; row++) {
            assertContains("row" + row, content);
        }
    }
Check the given InputStream is not closed by the Parser (TIKA-1117).

@throws Exception
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-apple-module/src/test/java/org/apache/tika/parser/iwork/IWorkParserTest.java