Inheritance: extends PHPUnit_Framework_TestCase
Ejemplo n.º 1
0
 /**
  * @depends testSerializationDeserialization
  * @param Webhook $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getId(), "TestSample");
     $this->assertEquals($obj->getUrl(), "http://www.google.com");
     $this->assertEquals($obj->getEventTypes(), WebhookEventTypeTest::getObject());
     $this->assertEquals($obj->getLinks(), LinksTest::getObject());
 }
 /**
  * @depends testSerializationDeserialization
  * @param WebhookEventTypeList $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getEventTypes(), WebhookEventTypeTest::getObject());
 }