コード例 #1
0
 protected function setUp()
 {
     if (is_null($this->collectionClass)) {
         $this->collectionClass = '\\QATools\\QATools\\PageObject\\Proxy\\AbstractProxy';
     }
     parent::setUp();
 }
コード例 #2
0
 protected function setUp()
 {
     if (is_null($this->collectionClass)) {
         $this->collectionClass = '\\QATools\\QATools\\PageObject\\Element\\WebElementCollection';
         $this->collectionElementClass = '\\QATools\\QATools\\PageObject\\Element\\WebElement';
     }
     parent::setUp();
 }
コード例 #3
0
 protected function setUp()
 {
     if (is_null($this->collectionClass)) {
         $this->collectionClass = '\\tests\\QATools\\QATools\\HtmlElements\\Fixture\\Element\\TypifiedElementCollectionChild';
         $this->collectionElementClass = '\\QATools\\QATools\\HtmlElements\\Element\\TextInput';
     }
     $this->webElement = m::mock(self::WEB_ELEMENT_CLASS);
     $this->webElement->shouldReceive('getSession')->withNoArgs()->andReturn($this->session);
     parent::setUp();
 }