You can make the test pass by changing the assertion to:

    assertTrue(IOUtils.contentEquals(stream, originalStream));

Wrapping a stream with TikaInputStream doesn't magically add
mark/reset support to the original stream; only the wrapper instance
has this feature.

Reply via email to