@Test
    public void testNullStream() throws IOException {
        InputStream lookahead = new LookaheadInputStream(null, 100);
        assertEquals(-1, lookahead.read());
    }
Test cases for the {@link LookaheadInputStream} class.
tika-core/src/test/java/org/apache/tika/io/LookaheadInputStreamTest.java