/** * @depends testSerializationDeserialization * @param PayoutBatchHeader $obj */ public function testGetters($obj) { $this->assertEquals($obj->getPayoutBatchId(), "TestSample"); $this->assertEquals($obj->getBatchStatus(), "TestSample"); $this->assertEquals($obj->getTimeCreated(), "TestSample"); $this->assertEquals($obj->getTimeCompleted(), "TestSample"); $this->assertEquals($obj->getSenderBatchHeader(), PayoutSenderBatchHeaderTest::getObject()); $this->assertEquals($obj->getAmount(), CurrencyTest::getObject()); $this->assertEquals($obj->getFees(), CurrencyTest::getObject()); $this->assertEquals($obj->getErrors(), ErrorTest::getObject()); $this->assertEquals($obj->getLinks(), LinksTest::getObject()); }
/** * @depends testSerializationDeserialization * @param Payout $obj */ public function testGetters($obj) { $this->assertEquals($obj->getSenderBatchHeader(), PayoutSenderBatchHeaderTest::getObject()); $this->assertEquals($obj->getItems(), PayoutItemTest::getObject()); $this->assertEquals($obj->getLinks(), LinksTest::getObject()); }