final PersonImpl facStaffPerson = new PersonImpl();
facStaffPerson.setAttribute(IPerson.USERNAME, "facStaff");
this.jpaPortalEventStore.addPersonGroups(facStaffPerson, new HashSet<String>(Arrays.asList("faculty", "staff", "admin")));
UserLoggedInPortalEvent loggedInPortalEvent;
UserLoggedOutPortalEvent loggedOutPortalEvent;
final Queue<PortalEvent> eventQueue = new LinkedList<PortalEvent>();
while (eventQueue.size() < 500) {
loggedInPortalEvent = new UserLoggedInPortalEvent(this, adminPerson);
eventQueue.offer(loggedInPortalEvent);
loggedOutPortalEvent = new UserLoggedOutPortalEvent(this, adminPerson);
eventQueue.offer(loggedOutPortalEvent);
loggedInPortalEvent = new UserLoggedInPortalEvent(this, studentPerson);
eventQueue.offer(loggedInPortalEvent);
loggedInPortalEvent = new UserLoggedInPortalEvent(this, adminPerson);
eventQueue.offer(loggedInPortalEvent);
loggedOutPortalEvent = new UserLoggedOutPortalEvent(this, adminPerson);
eventQueue.offer(loggedOutPortalEvent);
loggedOutPortalEvent = new UserLoggedOutPortalEvent(this, studentPerson);
eventQueue.offer(loggedOutPortalEvent);
loggedInPortalEvent = new UserLoggedInPortalEvent(this, facStaffPerson);
eventQueue.offer(loggedInPortalEvent);
loggedOutPortalEvent = new UserLoggedOutPortalEvent(this, facStaffPerson);
eventQueue.offer(loggedOutPortalEvent);
loggedInPortalEvent = new UserLoggedInPortalEvent(this, facStaffPerson);
eventQueue.offer(loggedInPortalEvent);
loggedOutPortalEvent = new UserLoggedOutPortalEvent(this, facStaffPerson);
eventQueue.offer(loggedOutPortalEvent);
loggedInPortalEvent = new UserLoggedInPortalEvent(this, studentPerson);
eventQueue.offer(loggedInPortalEvent);
loggedOutPortalEvent = new UserLoggedOutPortalEvent(this, studentPerson);
eventQueue.offer(loggedOutPortalEvent);
}