@Test public void testZeroBytesInputStream() throws Exception { int size = 16; ZeroBytesInputStream zbis = new ZeroBytesInputStream(size); TestUtils.validateInputStreamContract(zbis); TestUtils.readInputStreamAndValidateSize(zbis, size); }
public ZeroBytesInputStream(long size) throws IOException { this.streamSize = size; this.position = 0; }
ZeroBytesInputStream extends InputStream { public ZeroBytesInputStream(long size) throws IOException { this.streamSize = size; this.position = 0; } }
ZeroBytesInputStream extends InputStream { public ZeroBytesInputStream(long size) throws IOException { this.streamSize = size; this.position = 0; } ZeroBytesInputStream(long size); }
ZeroBytesInputStream extends InputStream { public ZeroBytesInputStream(long size) throws IOException { this.streamSize = size; this.position = 0; } ZeroBytesInputStream(long size); @Override int read(); @Override int read(byte[] bytes, int offset, int length); @Override int available(); }
ZeroBytesInputStream extends InputStream { public ZeroBytesInputStream(long size) throws IOException { this.streamSize = size; this.position = 0; } ZeroBytesInputStream(long size); @Override int read(); @Override int read(byte[] bytes, int offset, int length); @Override int available();  }