@Test
public void shouldDecodeFalseFromCommonFlags() {
ByteBuf content = Unpooled.copiedBuffer("false", CharsetUtil.UTF_8);
JsonBooleanDocument decoded = converter.decode("id", content, 0, 0, TranscoderUtils.JSON_COMMON_FLAGS,
ResponseStatus.SUCCESS);
assertFalse(decoded.content());
}
@Test
public void shouldReleaseBufferWhenDecoded() {
ByteBuf content = Unpooled.copiedBuffer("false", CharsetUtil.UTF_8);