@Override
    public ByteBuf retainedSlice() {
        return slice().retain();
    }
@Test
    public void testRetainedSliceAfterRelease() {
        assertThrows(IllegalReferenceCountException.class, new Executable() {
            @Override
            public void execute() {
                releasedBuffer().retainedSlice();
            }
        });
    }