assertNotNull($obj); $this->assertNotNull($obj->getWebhooks()); $this->assertEquals(self::getJson(), $obj->toJson()); return $obj; } /** * @depends testSerializationDeserialization * @param WebhookList $obj */ public function testGetters($obj) { $this->assertEquals($obj->getWebhooks(), WebhookTest::getObject()); } /** * @depends testSerializationDeserialization * @param WebhookList $obj */ public function testDeprecatedGetters($obj) { } /** * @depends testSerializationDeserialization * @param WebhookList $obj */ public function testDeprecatedSetterNormalGetter($obj) { //Test All Deprecated Getters and Normal Getters $this->testDeprecatedGetters($obj); $this->testGetters($obj); } }