question: tests that an exception is thrown when the reference count is two . concode_field_sep ByteBuf mBuffer concode_elem_sep ExpectedException mThrown concode_elem_sep int LENGTH concode_field_sep void bufferAlreadyReleased concode_elem_sep void before concode_elem_sep void getNettyOutputNotSupported concode_elem_sep void singleNioBufferCheckFailed concode_elem_sep void releaseBuffer concode_elem_sep void length concode_elem_sep void releaseBufferTest concode_elem_sep void readOnlyByteBuffer concode_elem_sep void after concode_elem_sep void releaseBufferFail
target: void function ( ) { mThrown . expect ( IllegalArgumentException . class ) ; mThrown . expectMessage ( "srini_string" ) ; mBuffer . retain ( ) ; new DataNettyBuffer ( mBuffer , LENGTH ) ; }