/**
  * 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 beforeSetUpFinish()
 {
     parent::beforeSetUpFinish();
     $this->expectDriverGetTagName('textarea');
 }