WebDriverAccessor accessor = createWebDriverAccessor(request, response);
container.setProperty(WebDriverAccessor.class, accessor, false);
String cookieName = "Set-Cookie";
String cookieValue = "name1=value1";
final Cookie cookie1 = new CookieImpl(cookieName, "localhost", "/");
cookie1.setValue(cookieValue);
String headerName = "Other-Header";
String headerValue = "o-h-value";
final Header otherHeader = new HeaderImpl(headerName);
otherHeader.setValue(headerValue);
HTTPMessageEntities additionalCookies = new SimpleHTTPMessageEntities();
Cookie additionalCookie = new CookieImpl("additionalName",
"localhost",
"/");
additionalCookie.setValue("additionalValue");
additionalCookies.add(additionalCookie);
String method = "populateWebDriverResponse";
Class paramTypes [] = {