/** * Occurs before "setUp" method is finished configuration jobs. * * @return void */ protected function beforeSetUpFinish() { parent::beforeSetUpFinish(); $this->pageFactory->shouldReceive('initElementContainer')->andReturn($this->pageFactory); $decorator = m::mock('\\QATools\\QATools\\PageObject\\PropertyDecorator\\IPropertyDecorator'); $this->pageFactory->shouldReceive('createDecorator')->andReturn($decorator); $this->pageFactory->shouldReceive('initElements')->andReturn($this->pageFactory); }
protected function setUp() { if (is_null($this->collectionClass)) { $this->collectionClass = '\\QATools\\QATools\\HtmlElements\\Proxy\\TypifiedElementCollectionProxy'; $this->collectionElementClass = '\\QATools\\QATools\\HtmlElements\\Element\\TextInput'; } parent::setUp(); }
protected function beforeSetUpFinish() { parent::beforeSetUpFinish(); $this->expectDriverGetTagName('textarea'); }