/**
  * @dataProvider provideGetReferencesFromRevisionContent
  */
 public function testGetReferencesAfterRevisionInsert($content, $expectedReferences)
 {
     $content = Utils::convert('wikitext', 'html', $content, $this->workflow->getOwnerTitle());
     $revision = $this->generatePost(array('rev_content' => $content));
     // Save to storage to test if ReferenceRecorder listener picks this up
     $this->store($this->revision);
     $this->store($revision);
     $expectedReferences = $this->expandReferences($this->workflow, $revision, $expectedReferences);
     // References will be stored as linked from Topic:<id>
     $title = Title::newFromText($this->workflow->getId()->getAlphadecimal(), NS_TOPIC);
     // Retrieve references from storage
     $foundReferences = $this->updater->getReferencesForTitle($title);
     $this->assertReferenceListsEqual($expectedReferences, $foundReferences);
 }