public function testSerializationDeserialization()
{
$obj = new WebhookEventList(self::getJson());
$this->assertNotNull($obj);
$this->assertNotNull($obj->getEvents());
$this->assertNotNull($obj->getCount());
$this->assertNotNull($obj->getLinks());
$this->assertEquals(self::getJson(), $obj->toJson());
return $obj;
}