Gadget gadget = mockGadget(false, specPrefs, inPrefs);
TestDefaultIframeUriManager manager = makeManager(false, false);
Uri result = manager.makeRenderingUri(gadget);
assertNotNull(result);
UriBuilder uri = new UriBuilder(result);
// otherKey1/inVal2 pair ignored; not known by the gadget
assertEquals(TYPE_HTML_NUM_BASE_PARAMS, uri.getQueryParameters().size());
assertEquals(2, uri.getFragmentParameters().size());
assertEquals("inVal1", uri.getFragmentParameter("up_specKey1"));
assertEquals("specDefault2", uri.getFragmentParameter("up_specKey2"));
}