     self.closure  = handler
     self.sender   = sender
     #if DEBUG
-      NotificationHubMock.onSubscribeMock?(name:self.name,sender:self.sender)
+      NotificationHubMock.onSubscribeMockHandler?(name:self.name,sender:self.sender)
     #endif
 
 

            didPublish = not.publishUserInfo(userInfo)
            not.sender = nil
          }

          else if  not.sender === sender { didPublish = not.publishUserInfo(userInfo) }
        }
      }

      for notification in notifications {
        let not:Notification = notification as Notification<T>
        not.hub = nil
        #if DEBUG
          NotificationHubMock.onRemoveMockHandler?(name:not.name, sender:not.sender)
        #endif

      }
    }
    
