@Test
public void testNonEmptyExcerpt_available() throws IOException {

    // a short excerpt, well-within the underlying stream.
    assertEquals(3, excerpt(makeDigits(), 6, 3).available());
    // an excerpt that extends past the underlying stream.
    assertEquals(4, excerpt(makeDigits(), 6, 6).available());
}