}
public void testNotifyBuddyGroupChange()
{
assert allEventsListener.buddyGroupChangedEvent == null;
BuddyGroup buddyGroup = new BuddyGroup();
notifier.notifyBuddyGroupChange(buddyGroup, true);
assert allEventsListener.buddyGroupChangedEvent != null;
assert allEventsListener.buddyGroupChangedEvent.getBuddyGroup().equals(buddyGroup);
assert allEventsListener.buddyGroupChangedEvent.getType() == Event.Type.BUDDY_GROUP_CHANGED;
}