assertNotNull($obj); $this->assertNotNull($obj->getCurrency()); $this->assertNotNull($obj->getValue()); $this->assertEquals(self::getJson(), $obj->toJson()); return $obj; } /** * @depends testSerializationDeserialization * @param Currency $obj */ public function testGetters($obj) { $this->assertEquals($obj->getCurrency(), "TestSample"); $this->assertEquals($obj->getValue(), "TestSample"); } /** * @depends testSerializationDeserialization * @param Currency $obj */ public function testDeprecatedGetters($obj) { } /** * @depends testSerializationDeserialization * @param Currency $obj */ public function testDeprecatedSetterNormalGetter($obj) { //Test All Deprecated Getters and Normal Getters $this->testDeprecatedGetters($obj); $this->testGetters($obj); } }