@Override
    public ByteBuf setBytes(int index, ByteBuf src, int srcIndex, int length) {
        throw new ReadOnlyBufferException();
    }
@Test
    public void shouldRejectSetBytes1() {
        assertThrows(UnsupportedOperationException.class, new Executable() {
            @Override
            public void execute() throws IOException {
                unmodifiableBuffer(EMPTY_BUFFER).setBytes(0, (InputStream) null, 0);
            }
        });
    }