assertNotNull($obj); $this->assertNotNull($obj->getSubject()); $this->assertNotNull($obj->getNote()); $this->assertNotNull($obj->getSendToMerchant()); $this->assertNotNull($obj->getSendToPayer()); $this->assertEquals(self::getJson(), $obj->toJson()); return $obj; } /** * @depends testSerializationDeserialization * @param CancelNotification $obj */ public function testGetters($obj) { $this->assertEquals($obj->getSubject(), "TestSample"); $this->assertEquals($obj->getNote(), "TestSample"); $this->assertEquals($obj->getSendToMerchant(), true); $this->assertEquals($obj->getSendToPayer(), true); } }