expect(request.getParameterNames()).andReturn(Collections.enumeration(options.keySet()));
expect(lockedDomainService.isSafeForOpenProxy(uri.getAuthority())).andReturn(true);
ProxyUriManager.ProxyUri pUri = new ProxyUri(-1, false, true, "default", "http://example.org/gadget.xml", REQUEST_URL);
pUri.setAuthType(AuthType.OAUTH2);
pUri.setOAuth2Arguments(new OAuth2Arguments(AuthType.OAUTH2, options));
expect(proxyHandler.fetch(pUri)).andReturn(new HttpResponse(RESPONSE_BODY));
replay();
servlet.doGet(request, recorder);
verify();