title: Testing HttpServletResponse addCookie
body: <p>I have this method I want to test with JUnit and Mockachino.</p>
  
  <pre><code>public void removeCookie(HttpServletResponse response, String name) {
      Cookie cookie = new Cookie(name, "");
      cookie.setMaxAge(0);
      response.addCookie(cookie);
  }
  </code></pre>
  
  <p>But how?</p>