@Override
    public String encode(Cookie cookie) {
        return cookie.getName() + EQUAL + (cookie.getValue() != null ? cookie.getValue() : "");
    }
@Test
    void clientCookieEncoding() {
        ClientCookieEncoder cookieEncoder = new DefaultClientCookieEncoder();
        Cookie cookie = Cookie.of("SID", "31d4d96e407aad42").path("/").domain("example.com");
        assertEquals("SID=31d4d96e407aad42", cookieEncoder.encode(cookie));
    }