PayPal\Test\Functional\Api\WebhookFunctionalTest::testGet PHP Method

testGet() public method

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