assertNotNull($obj); $this->assertNotNull($obj->getPayoutItemId()); $this->assertNotNull($obj->getTransactionId()); $this->assertNotNull($obj->getTransactionStatus()); $this->assertNotNull($obj->getPayoutItemFee()); $this->assertNotNull($obj->getPayoutBatchId()); $this->assertNotNull($obj->getSenderBatchId()); $this->assertNotNull($obj->getPayoutItem()); $this->assertNotNull($obj->getTimeProcessed()); $this->assertNotNull($obj->getErrors()); $this->assertNotNull($obj->getLinks()); $this->assertEquals(self::getJson(), $obj->toJson()); return $obj; } /** * @depends testSerializationDeserialization * @param PayoutItemDetails $obj */ public function testGetters($obj) { $this->assertEquals($obj->getPayoutItemId(), "TestSample"); $this->assertEquals($obj->getTransactionId(), "TestSample"); $this->assertEquals($obj->getTransactionStatus(), "TestSample"); $this->assertEquals($obj->getPayoutItemFee(), CurrencyTest::getObject()); $this->assertEquals($obj->getPayoutBatchId(), "TestSample"); $this->assertEquals($obj->getSenderBatchId(), "TestSample"); $this->assertEquals($obj->getPayoutItem(), PayoutItemTest::getObject()); $this->assertEquals($obj->getTimeProcessed(), "TestSample"); $this->assertEquals($obj->getErrors(), ErrorTest::getObject()); $this->assertEquals($obj->getLinks(), LinksTest::getObject()); } }