@Override
  public boolean isSecure() {
    return delegate.isSecure();
  }
@Test
  public void delegate_methods_for_cookie() {
    javax.servlet.http.Cookie mockCookie = new javax.servlet.http.Cookie("name", "value");
    mockCookie.setSecure(true);
    mockCookie.setPath("path");
    mockCookie.setHttpOnly(true);
    mockCookie.setMaxAge(100);

    Cookie cookie = new JavaxHttpRequest.JavaxCookie(mockCookie);
    assertThat(cookie.getName()).isEqualTo("name");
    assertThat(cookie.getValue()).isEqualTo("value");
    assertThat(cookie.getPath()).isEqualTo("path");
    assertThat(cookie.isSecure()).isTrue();
    assertThat(cookie.isHttpOnly()).isTrue();
    assertThat(cookie.getMaxAge()).isEqualTo(100);
  }