Simulates a conversation between a web browser and a servlet container.
Cookies will be remembered between requests and can be easily examined.
To check which new cookies have been set during a request, the
MockResponse.getNewCookieNames method can be used.
An instance of this class is tied to a regular
Site structure
instance.