converter.decode("id", content, 0, 0, wrongFlags, ResponseStatus.SUCCESS);
}
@Test(expected = TranscodingException.class)
public void shouldFailToDecodeWithWrongCommonFlags() {
ByteBuf content = Unpooled.copiedBuffer("[]", CharsetUtil.UTF_8);
int wrongFlags = TranscoderUtils.BINARY_COMMON_FLAGS;
converter.decode("id", content, 0, 0, wrongFlags, ResponseStatus.SUCCESS);
}