コード例 #1
0
ファイル: SubmitTest.php プロジェクト: spiderling-php/crawler
 public function setUp()
 {
     parent::setUp();
     $this->domElement = $this->document->getElementById('submit');
     $this->submit = new Submit($this->crawler, $this->domElement);
 }
コード例 #2
0
ファイル: FormTest.php プロジェクト: spiderling-php/crawler
 public function setUp()
 {
     parent::setUp();
     $domElement = $this->document->getElementById('form');
     $this->form = new Form($this->crawler, $domElement);
 }
コード例 #3
0
 public function setUp()
 {
     parent::setUp();
     $domElement = $this->document->getElementById('email');
     $this->element = $this->getMockForAbstractClass('SP\\Crawler\\Element\\AbstractElement', [$this->crawler, $domElement]);
 }