@Test
void cookie() {

    CookieSpec spec = new CookieSpec("name");
    assertThat(request.cookie(spec)).isNotPresent();
    request.cookies = Map.of("name", "value");
    assertThat(request.cookie(spec)).get().isEqualTo("value");
}