/** * Occurs before "setUp" method is finished configuration jobs. * * @return void */ protected function beforeSetUpFinish() { parent::beforeSetUpFinish(); $decorator = m::mock('\\aik099\\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 = '\\aik099\\QATools\\PageObject\\Proxy\\WebElementProxy'; $this->collectionElementClass = '\\aik099\\QATools\\PageObject\\Element\\IWebElement'; } parent::setUp(); }
protected function setUp() { $this->ignoreLocatorTests[] = 'testGetName'; if (is_null($this->collectionClass)) { $this->collectionClass = '\\aik099\\QATools\\HtmlElements\\Proxy\\TypifiedElementProxy'; $this->collectionElementClass = '\\aik099\\QATools\\HtmlElements\\Element\\ITypifiedElement'; } parent::setUp(); }
protected function setUp() { $this->ignoreLocatorTests[] = 'testGetName'; $this->locatorClass = '\\aik099\\QATools\\BEM\\ElementLocator\\BEMElementLocator'; if (is_null($this->collectionClass)) { $this->collectionClass = '\\aik099\\QATools\\BEM\\Proxy\\ElementProxy'; $this->collectionElementClass = '\\aik099\\QATools\\BEM\\Element\\IElement'; } parent::setUp(); }