public testGet ( $webhook ) : |
||
$webhook | Webhook | |
return |
public function testGet($webhook)
{
$result = Webhook::get($webhook->getId(), $this->apiContext, $this->mockPayPalRestCall);
$this->assertNotNull($result);
$this->assertEquals($webhook->getId(), $result->getId());
return $result;
}