public function testSetterGetterWithValidData() { $payConfirmParameter = new PayConfirmParameter(); $payConfirmParameter->setMsgtype(self::MSGTYPE)->setVtverify(self::VTVERIFY)->setKeyid(self::KEYID)->setId(self::ID)->setToken(self::TOKEN)->setAccountid(self::ACCOUNTID)->setAmount(self::AMOUNT)->setCurrency(self::CURRENCY)->setCardrefid(self::CARDREFID)->setScdresult(self::SCDRESULT)->setProviderid(self::PROVIDERID)->setProvidername(self::PROVIDERNAME)->setOrderid(self::ORDERID)->setIp(self::IP)->setIpcountry(self::IPCOUNTRY)->setCccountry(self::CCCOUNTRY)->setMpiliabilityshift(self::MPI_LIABILITYSHIFT)->setEci(self::ECI)->setXid(self::XID)->setCavv(self::CAVV); $this->assertEquals(self::MSGTYPE, $payConfirmParameter->getMsgtype()); $this->assertEquals(self::VTVERIFY, $payConfirmParameter->getVtverify()); $this->assertEquals(self::KEYID, $payConfirmParameter->getKeyid()); $this->assertEquals(self::ID, $payConfirmParameter->getId()); $this->assertEquals(self::TOKEN, $payConfirmParameter->getToken()); $this->assertEquals(self::ACCOUNTID, $payConfirmParameter->getAccountid()); $this->assertEquals(self::AMOUNT, $payConfirmParameter->getAmount()); $this->assertEquals(self::CURRENCY, $payConfirmParameter->getCurrency()); $this->assertEquals(self::CARDREFID, $payConfirmParameter->getCardrefid()); $this->assertEquals(self::SCDRESULT, $payConfirmParameter->getScdresult()); $this->assertEquals(self::PROVIDERID, $payConfirmParameter->getProviderid()); $this->assertEquals(self::PROVIDERNAME, $payConfirmParameter->getProvidername()); $this->assertEquals(self::ORDERID, $payConfirmParameter->getOrderid()); $this->assertEquals(self::IP, $payConfirmParameter->getIp()); $this->assertEquals(self::IPCOUNTRY, $payConfirmParameter->getIpcountry()); $this->assertEquals(self::CCCOUNTRY, $payConfirmParameter->getCccountry()); $this->assertEquals(self::MPI_LIABILITYSHIFT, $payConfirmParameter->getMpiliabilityshift()); $this->assertEquals(self::ECI, $payConfirmParameter->getEci()); $this->assertEquals(self::XID, $payConfirmParameter->getXid()); $this->assertEquals(self::CAVV, $payConfirmParameter->getCavv()); $this->assertCount(0, $payConfirmParameter->getInvalidData()); }