public function setUp() { parent::setUp(); $this->extractor = new OriginalUrlExtractor(); $this->extractMethod = 'getSeoOriginalUrl'; $this->metadataMethod = 'setOriginalUrl'; }
public function setUp() { parent::setUp(); $this->extractor = new KeywordsExtractor(); $this->extractMethod = 'getSeoKeywords'; $this->metadataMethod = 'setMetaKeywords'; }
public function setUp() { parent::setUp(); $this->extractor = new DescriptionExtractor(); $this->extractMethod = 'getSeoDescription'; $this->metadataMethod = 'setMetaDescription'; }
public function setUp() { parent::setUp(); $this->extractor = new TitleReadExtractor(); $this->extractMethod = 'getTitle'; $this->metadataMethod = 'setTitle'; }
public function testExtracting() { $this->urlGenerator->expects($this->any())->method('generate')->with($this->equalTo('extracted'))->will($this->returnValue('extracted')); parent::testExtracting(); }
public function setUp() { parent::setUp(); $this->extractor = new ExtrasExtractor(); }