Exemple #1
0
 /**
  * @test
  */
 public function shouldCallDelete()
 {
     $this->setUp();
     $this->guzzleMock->expects($this->once())->method('delete')->will($this->returnValue($this->getMock('Guzzle\\Http\\Message\\RequestInterface')));
     $this->testApi->delete('/');
 }
 /**
  * @test
  */
 public function shouldCallDelete()
 {
     $this->setUp();
     $this->adapter->expects($this->once())->method('delete')->will($this->returnValue([]));
     $this->testApi->delete('/');
 }