// test applying it
RequestContext context = new MockRequestContext();
Subject subject = createSubject();
context.setPath("/homepage.psml");
context.setSubject(subject);
ProfileLocator locator = rule.apply(context, profiler);
System.out.println("locator = " + locator);
assertTrue("locator string " + locator.toString(), locator.toString().equals("/homepage.psml:user:david:navigation:/:role:ATP:role:NB:role:ATP-NB:page:/homepage.psml"));
System.out.println("COMPLETED: running test user role fallback.");
}