### Question:
ClosedInputStream extends InputStream { @Override public int read() { return EOF; }  @Override int read(); static final ClosedInputStream CLOSED_INPUT_STREAM; }### Answer:
@Test public void testRead() throws Exception { final ClosedInputStream cis = new ClosedInputStream(); assertEquals("read()", -1, cis.read()); cis.close(); }