@Test(expected = IllegalReferenceCountException.class)
public void testReadBytesAfterRelease4() {

    ByteBuf buffer = buffer(8);
    try {
        releasedBuffer().readBytes(buffer, 0, 1);
    } finally {
        buffer.release();
    }
}