assertEquals(HTTP_BODY, response.getBodyAsString());
}
private CookieWrapper createCookie(String name, String value, String domain, String path, String expiryDate, String secure, String version)
{
CookieWrapper cookie = new CookieWrapper();
cookie.setName(name);
cookie.setValue(value);
cookie.setDomain(domain);
cookie.setPath(path);
cookie.setExpiryDate(expiryDate);
cookie.setSecure(secure);
cookie.setVersion(version);
return cookie;
}