/** * @depends testSerializationDeserialization * @param MerchantPreferences $obj */ public function testGetters($obj) { $this->assertEquals($obj->getId(), "TestSample"); $this->assertEquals($obj->getSetupFee(), CurrencyTest::getObject()); $this->assertEquals($obj->getCancelUrl(), "http://www.google.com"); $this->assertEquals($obj->getReturnUrl(), "http://www.google.com"); $this->assertEquals($obj->getNotifyUrl(), "http://www.google.com"); $this->assertEquals($obj->getMaxFailAttempts(), "TestSample"); $this->assertEquals($obj->getAutoBillAmount(), "TestSample"); $this->assertEquals($obj->getInitialFailAmountAction(), "TestSample"); $this->assertEquals($obj->getAcceptedPaymentType(), "TestSample"); $this->assertEquals($obj->getCharSet(), "TestSample"); }