* @throws NamespaceException
* @throws IOException
*/
public void testMultipleCookies() throws ServletException, NamespaceException, IOException
{
HttpService httpService = getHTTPService( registry.getBundleContext() );
CookieServlet servlet = new CookieServlet( MODE_MULTI );
httpService.registerServlet( "/test", servlet, null, null );
//Test that no cookies are currently set.
HttpURLConnection client = getConnection( DEFAULT_BASE_URL + "/test", "GET" );
//Set the cookie in the response