assertNotNull($obj); $this->assertNotNull($obj->getAllowedPaymentMethod()); $this->assertNotNull($obj->getRecurringFlag()); $this->assertNotNull($obj->getSkipFmf()); $this->assertEquals(self::getJson(), $obj->toJson()); return $obj; } /** * @depends testSerializationDeserialization * @param PaymentOptions $obj */ public function testGetters($obj) { $this->assertEquals($obj->getAllowedPaymentMethod(), "TestSample"); $this->assertEquals($obj->getRecurringFlag(), true); $this->assertEquals($obj->getSkipFmf(), true); } }