assertNotNull($obj); $this->assertNotNull($obj->getSenderBatchId()); $this->assertNotNull($obj->getEmailSubject()); $this->assertNotNull($obj->getRecipientType()); $this->assertEquals(self::getJson(), $obj->toJson()); return $obj; } /** * @depends testSerializationDeserialization * @param PayoutSenderBatchHeader $obj */ public function testGetters($obj) { $this->assertEquals($obj->getSenderBatchId(), "TestSample"); $this->assertEquals($obj->getEmailSubject(), "TestSample"); $this->assertEquals($obj->getRecipientType(), "TestSample"); } }