@Test(enabled = false)
public void testCalculateOnline() {
int sessionNum = 100;
int profileNum = 10;
SessionRegistry registry = new MemSessionRegistry();
for (int i = 0; i < sessionNum; i++) {
String random = RandomStringUtils.randomAlphanumeric(21);
Authentication authentication = new UsernamePasswordAuthentication(new MockPrincipal(
random, String.valueOf(RandomUtils.nextInt(profileNum))), random);
registry.register(random, authentication);
}
// ConcurrentSessionStrategy controller = new ConcurrentSessionStrategy();
// controller.setProfileProvider(profileProvider);
// controller.setSessionRegistry(registry);