@Test
void ignoresEmptySetCookieHeader() {

    final HeaderFilter unit = replaceCookies("sessionToken"::equals, "XXX");
    final HttpHeaders before = HttpHeaders.of("Set-Cookie", "");
    final HttpHeaders after = unit.filter(before);
    assertThat(after, hasEntry("Set-Cookie", singletonList("")));
}