/**
* @throws Exception
*/
public void testResourceReferenceUrl() throws Exception
{
ResourceReference rr = new SharedResourceReference("test");
CharSequence url = tester.getRequestCycle().mapUrlFor(rr, null).toString();
assertEquals("wicket/resource/org.apache.wicket.Application/test", url);
rr = new PackageResourceReference(SharedResourceUrlTest.class, "test");
url = tester.getRequestCycle().mapUrlFor(rr, null).toString();