public function setUp() { parent::setUp(); // create a workflow & revision associated with it $this->revision = $this->generateObject(); $this->workflow = $this->workflows[$this->revision->getCollectionId()->getAlphadecimal()]; $this->storage = Container::get('storage'); $this->extractor = Container::get('reference.extractor'); $this->recorder = Container::get('reference.recorder'); $this->updater = Container::get('reference.updater.links-tables'); // Check for Parsoid try { Utils::convert('html', 'wikitext', 'Foo', $this->workflow->getOwnerTitle()); } catch (WikitextException $excep) { $this->markTestSkipped('Parsoid not enabled'); } // These tests don't provide sufficient data to properly run all listeners $this->clearExtraLifecycleHandlers(); }