Inheritance: extends PHPUnit_Framework_TestCase
 /**
  * @dataProvider mockProvider
  * @param Webhook $obj
  */
 public function testUpdate($obj, $mockApiContext)
 {
     $mockPayPalRestCall = $this->getMockBuilder('\\PayPal\\Transport\\PayPalRestCall')->disableOriginalConstructor()->getMock();
     $mockPayPalRestCall->expects($this->any())->method('execute')->will($this->returnValue(self::getJson()));
     $patchRequest = PatchRequestTest::getObject();
     $result = $obj->update($patchRequest, $mockApiContext, $mockPayPalRestCall);
     $this->assertNotNull($result);
 }