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