protected function setUp()
 {
     parent::setUp();
     $this->service = new NotificationService($this->backend, false);
     // Register some notification types
     $formatterRegistry = $this->service->getFormatterRegistry();
     $formatterRegistry->registerType('friend:something', '\\MakinaCorpus\\APubSub\\Notification\\Formatter\\RawFormatter');
     $formatterRegistry->registerType('friend:friended', '\\MakinaCorpus\\APubSub\\Notification\\Formatter\\RawFormatter');
     $formatterRegistry->registerType('content');
     $formatterRegistry->registerType('disabled');
 }
 protected function setUp()
 {
     parent::setUp();
     $this->chan = $this->backend->createChannel('foo');
 }