title: Adding cookie to HttpServletRequest and retrieving cookie from HttpServletResponse using Mockito
body: <p>I am using Mockito to mock <code>HttpServletRequest</code> and <code>HttpServletResponse</code>. I want to add cookie in the the mock request I am creating. How can I do so? </p>
  
  <p>Also I am setting the cookie in the response at the server side. How can I retrieve the cookie from the mock response sent by the server?</p>