@Test
void appendWithTruncation() {

    var param = new BytesLogParam(Strings.bytes("text-♥"));
    var builder = new StringBuilder();
    param.append(builder, Set.of(), 6);
    assertThat(builder.toString()).isEqualTo("text-...(truncated)");
}