}
public void testOneListenerRegisteredWithDifferentHandbacksOneFilteredOut()
throws Exception
{
NotificationBroadcasterSupport broadcaster = new NotificationBroadcasterSupport();
Listener listener = new Listener();
Object handback1 = new Object();
broadcaster.addNotificationListener(listener, null, handback1);
Object handback2 = new Object();
NotificationFilterSupport filter = new NotificationFilterSupport();
filter.disableType(DEFAULT_TYPE);
broadcaster.addNotificationListener(listener, filter, handback2);
clear();
createNotification(broadcaster);
compare(sent, received(listener, handback1));