assertNotNull($obj); $this->assertNotNull($obj->getPatches()); return $obj; } /** * @depends testSerializationDeserialization * @param PatchRequest $obj */ public function testGetters($obj) { $this->assertEquals($obj->getPatches(), PatchTest::getObject()); } /** * @depends testSerializationDeserialization * @param PatchRequest $obj */ public function testDeprecatedGetters($obj) { } /** * @depends testSerializationDeserialization * @param PatchRequest $obj */ public function testDeprecatedSetterNormalGetter($obj) { //Test All Deprecated Getters and Normal Getters $this->testDeprecatedGetters($obj); $this->testGetters($obj); } }