/**
  * @test
  */
 public function getTriggerSelfChangedEventWhenTitleOfPageWasChanged()
 {
     $eventWasFired = false;
     $this->dispatcher->subscribe('Page::Changed::Self', function ($event) use(&$eventWasFired) {
         if ($event instanceof SelfChangedEvent) {
             $eventWasFired = true;
         }
         $eventWasFired = false;
     });
     $this->dataHandler->updateDB();
     $this->dataHandler->process_datamap();
     $this->assertTrue($eventWasFired);
 }