public void testPage() throws Exception
{
assertNotNull("profiler service is null", profiler);
RequestContext request = new MockRequestContext();
request.setSubject(SecurityHelper.createSubject("anon"));
request.setLocale(new Locale("en", "US"));
request.setMediaType("HTML");
request.setMimeType("text/html");
Map params = request.getParameterMap();
// params.put("page", "default");
ProfileLocator locator = profiler.getProfile(request, ProfileLocator.PAGE_LOCATOR);
assertNotNull("rule test on getProfile returned null", locator);
System.out.println("page = " + locator.getValue("page"));