ForwardingReadableBuffer implements ReadableBuffer { @Override public void readBytes(byte[] dest, int destOffset, int length) { buf.readBytes(dest, destOffset, length); } ForwardingReadableBuffer(ReadableBuffer buf); @Override int readableBytes(); @Override int readUnsignedByte(); @Override int readUnsignedMedium(); @Override int readUnsignedShort(); @Override int readInt(); @Override void skipBytes(int length); @Override void readBytes(byte[] dest, int destOffset, int length); @Override void readBytes(ByteBuffer dest); @Override void readBytes(OutputStream dest, int length); @Override ReadableBuffer readBytes(int length); @Override boolean hasArray(); @Override byte[] array(); @Override int arrayOffset(); @Override void close();  }
@Test public void readBytes() { buffer.readBytes(null, 1, 2); verify(delegate).readBytes(null, 1, 2); }
@Test public void readBytes_overload1() { buffer.readBytes(null); verify(delegate).readBytes(null); }
@Test public void readBytes_overload2() throws IOException { buffer.readBytes(null, 1); verify(delegate).readBytes(null, 1); }
@Test public void readBytes_overload3() { buffer.readBytes(1); verify(delegate).readBytes(1); }