@Test
void appendWithMask() {

    var headers = new HeaderMap();
    HttpString name = new HttpString("SessionId");
    headers.put(name, "value");
    var param = new HeaderLogParam(name, headers.get(name));
    var builder = new StringBuilder();
    param.append(builder, Set.of("SessionId"), 1000);
    assertThat(builder.toString()).isEqualTo("******");
}