Пример #1
0
 public function testStopperStops()
 {
     $shutUrl = 'shutUrl';
     $shutOptions = 'shutOptions';
     $this->seleniumOptions->expects($this->any())->method('getSeleniumQuery')->willReturn('not_empty');
     $this->seleniumOptions->expects($this->any())->method('getSeleniumUrl')->willReturn('not_empty');
     $this->seleniumOptions->expects($this->any())->method('getSeleniumPort')->willReturn('not_empty');
     $this->seleniumOptions->expects($this->any())->method('getSeleniumShutdownUrl')->willReturn($shutUrl);
     $this->seleniumOptions->expects($this->any())->method('getSeleniumShutDownOptions')->willReturn($shutOptions);
     $this->httpClient->expects($this->any())->method('get')->with('shutUrl', 'shutOptions');
     $this->stopper->stop();
 }
 public function stop()
 {
     $this->seleniumStopper->stop();
 }