@Test
void appendWithTruncation() {

    var params = new SQLBatchParams(new EnumDBMapper(), List.of(new Object[]{"param1", 1},
            new Object[]{"param2", 2},
            new Object[]{"param3", 3}));
    var builder = new StringBuilder();
    params.append(builder, Set.of(), 10);
    assertThat(builder.toString())
            .hasSize(10 + "...(truncated)".length())
            .isEqualTo("[[param1, ...(truncated)");
}