public function testOnNotification()
 {
     $event = new NotificationEvent('test', NotificationEvent::TYPE_MESSAGE, new Notification(123, "test", []));
     $event->setDispatcher($this->getMock('Symfony\\Component\\EventDispatcher\\EventDispatcherInterface'));
     $this->provider->onNotification($event);
 }