@Test
void append() {

    var param = new BytesLogParam(Strings.bytes("message1234567890"));
    var builder = new StringBuilder();
    param.append(builder, Set.of(), 10);
    assertThat(builder.toString()).isEqualTo("message12...(truncated)");
    builder = new StringBuilder();
    param.append(builder, Set.of(), 1000);
    assertThat(builder.toString()).isEqualTo("message1234567890");
}