this.addContentEvent("RAH101", true, PublicContentChangedEvent.UPDATE_OPERATION_CODE); // mainGroup = customers
this.addContentEvent("ART122", true, PublicContentChangedEvent.UPDATE_OPERATION_CODE); // mainGroup = administrators, extraGroups = customers
List<ContentMailInfo> contentsToNotify = this._notifierManager.getContentsToNotify();
assertEquals(5, contentsToNotify.size());
UserDetails user = (UserDetails) this._authProvider.getUser("admin", "admin"); // administrators
List<ContentMailInfo> contentsToNotifyToUser = ((ContentNotifierManager) this._notifierManager).getContentsToNotifyToUser(user, contentsToNotify);
this.checkContentIds(new String[] { "ART1", "ART111", "EVN25", "RAH101", "ART122" }, contentsToNotifyToUser);
user = (UserDetails) this._authProvider.getUser("supervisorCustomers", "supervisorCustomers"); // customers
contentsToNotifyToUser = ((ContentNotifierManager) this._notifierManager).getContentsToNotifyToUser(user, contentsToNotify);