{
tester.setupRequestAndResponse();
WebRequestCycle cycle = tester.createRequestCycle();
ResourceReference rr = new ResourceReference("test");
CharSequence url = cycle.urlFor(rr, new ValueMap("param=value", ""));
assertEquals("resources/org.apache.wicket.Application/test?param=value", url.toString());
rr = new ResourceReference(SharedResourceUrlTest.class, "test");
url = cycle.urlFor(rr, new ValueMap("param=value", ""));
assertEquals("resources/org.apache.wicket.SharedResourceUrlTest/test?param=value",