585960616263646566676869
} } public void testClose() throws IOException { final MockInputStream mock = new MockInputStream(); final InputStream keepalive = new UnclosableInputStream(mock); keepalive.close(); assertFalse(mock.closed); mock.close(); assertTrue(mock.closed); }