NullOutputStream extends OutputStream { @Override public void write(final int b) throws IOException { } private  NullOutputStream(); @Override void write(final int b); @Override void write(final byte[] b); @Override void write(final byte[] b, final int off, final int len);  }
@Test void shouldIgnoreByte() throws Exception { NULL.write(0); }
@Test void shouldIgnoreBytes() throws Exception { NULL.write(new byte[0]); }
@Test void shouldIgnoreBytesOffset() throws Exception { NULL.write(new byte[0], 0, 0); }