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