* Test that the populateWebDriverResponse adds headers and cookies
* correctly added to the WebDriverResponse.
*/
public void testAddHeadersToWebDriverResponse() throws Throwable {
PluggableHTTPManager manager = createTestablePluggableHTTPManager();
PropertyContainer container = new RecoverableComplexPropertyContainer();
WebDriverRequest request = new WebDriverRequestImpl();
WebDriverResponseImpl response = new WebDriverResponseImpl();
WebDriverAccessor accessor = createWebDriverAccessor(request, response);
container.setProperty(WebDriverAccessor.class, accessor, false);
String cookieName = "Set-Cookie";
String cookieValue = "name1=value1";
CookieVersion cookieVersion = CookieVersion.RFC2109;