code: public static RenderingContext user(final ApplicationInfo appInfo) {
          final UserImpl user2 = new UserImpl();
          user2.setUsername("User");
          user2.setFirstname("Ursula");
          user2.setLastname("User");
          user2.clearRoles();
          user2.addRole("USER");
          return new RenderingContext(user2, appInfo, new CalendarProviderStub());
      }
docs: Special case user context.
  @param appInfo the application info to use in the context
  
  @return the created context