protected function getParserOutputFromEditInfo() { $editInfoProvider = new EditInfoProvider($this->wikiPage, $this->revision, $this->user); return $this->parserOutput = $editInfoProvider->fetchEditInfo()->getOutput(); }
/** * @dataProvider wikiPageDataProvider */ public function testFetchContentInfo($parameters, $expected) { $instance = new EditInfoProvider($parameters['wikiPage'], $parameters['revision']); $this->assertEquals($expected, $instance->fetchEditInfo()->getOutput()); }
private function fetchParserOutputFromEditInfo() { $editInfoProvider = new EditInfoProvider($this->wikiPage, $this->revision, $this->user); return $editInfoProvider->fetchEditInfo()->getOutput(); }