@Test
void appendWithEnum() {

    var mapper = new EnumDBMapper();
    mapper.registerEnumClass(TestEnum.class);
    var params = new SQLParams(mapper, "String", 1, TestEnum.V2, LocalDate.of(2018, 6, 1));
    var builder = new StringBuilder();
    params.append(builder, Set.of(), 1000);
    assertThat(builder.toString())
            .isEqualTo("[String, 1, DB_V2, 2018-06-01]");
}