assertNotNull($obj); $this->assertNotNull($obj->getAlternatePaymentAccountId()); $this->assertNotNull($obj->getExternalCustomerId()); $this->assertNotNull($obj->getAlternatePaymentProviderId()); $this->assertEquals(self::getJson(), $obj->toJson()); return $obj; } /** * @depends testSerializationDeserialization * @param AlternatePayment $obj */ public function testGetters($obj) { $this->assertEquals($obj->getAlternatePaymentAccountId(), "TestSample"); $this->assertEquals($obj->getExternalCustomerId(), "TestSample"); $this->assertEquals($obj->getAlternatePaymentProviderId(), "TestSample"); } }