assertEquals(TranscoderUtils.JSON_COMMON_FLAGS, (long) encoded.value2());
}
@Test
public void shouldEncodeFalse() {
JsonBooleanDocument document = JsonBooleanDocument.create("id", false);
Tuple2<ByteBuf, Integer> encoded = converter.encode(document);
assertEquals("false", encoded.value1().toString(CharsetUtil.UTF_8));
assertEquals(TranscoderUtils.JSON_COMMON_FLAGS, (long) encoded.value2());
}