public void renderProxiedCustomLocale() throws Exception {
UriBuilder uri = new UriBuilder(PROXIED_HTML_HREF);
uri.putQueryParameter("lang", "foo");
uri.putQueryParameter("country", "BAR");
Gadget gadget = makeHrefGadget("none");
gadget.setContext(new GadgetContext() {
@Override
public Locale getLocale() {
return new Locale("foo", "BAR");
}