MockControl controlNotificationListener = MockControl.createControl(NotificationListener.class);
NotificationListener mockNotificationListener = (NotificationListener) controlNotificationListener.getMock();
MockControl controlNotificationFilter = MockControl.createControl(NotificationFilter.class);
NotificationFilter mockNotificationFilter = (NotificationFilter) controlNotificationFilter.getMock();
mockNotificationFilter.isNotificationEnabled(null);
controlNotificationFilter.setMatcher(MockControl.ALWAYS_MATCHER);
controlNotificationFilter.setReturnValue(true);
mockNotificationListener.handleNotification(null, null);
controlNotificationListener.setMatcher(MockControl.ALWAYS_MATCHER);