Inheritance: extends PHPUnit_Framework_TestCase
 /**
  * @dataProvider mockProvider
  * @param WebhookEvent $obj
  */
 public function testGet($obj, $mockApiContext)
 {
     $mockPayPalRestCall = $this->getMockBuilder('\\PayPal\\Transport\\PayPalRestCall')->disableOriginalConstructor()->getMock();
     $mockPayPalRestCall->expects($this->any())->method('execute')->will($this->returnValue(WebhookEventTest::getJson()));
     $result = $obj->get("eventId", $mockApiContext, $mockPayPalRestCall);
     $this->assertNotNull($result);
 }
 /**
  * @depends testSerializationDeserialization
  * @param VerifyWebhookSignature $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getAuthAlgo(), "TestSample");
     $this->assertEquals($obj->getCertUrl(), "http://www.google.com");
     $this->assertEquals($obj->getTransmissionId(), "TestSample");
     $this->assertEquals($obj->getTransmissionSig(), "TestSample");
     $this->assertEquals($obj->getTransmissionTime(), "TestSample");
     $this->assertEquals($obj->getWebhookId(), "TestSample");
     $this->assertEquals($obj->getWebhookEvent(), WebhookEventTest::getObject());
 }
 /**
  * @depends testSerializationDeserialization
  * @param WebhookEventList $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getEvents(), WebhookEventTest::getObject());
     $this->assertEquals($obj->getCount(), 123);
     $this->assertEquals($obj->getLinks(), LinksTest::getObject());
 }