public function testSetGetWithValidData()
 {
     $payInitParameter = new PayInitParameter();
     $payInitParameter->set('ACCOUNTID', self::ACCOUNTID)->set('AMOUNT', self::AMOUNT)->set('CURRENCY', self::CURRENCY)->set('DESCRIPTION', self::DESCRIPTION)->set('ORDERID', self::ORDERID)->set('VTCONFIG', self::VTCONFIG)->set('SUCCESSLINK', self::SUCCESSLINK)->set('FAILLINK', self::FAILLINK)->set('BACKLINK', self::BACKLINK)->set('NOTIFYURL', self::NOTIFYURL)->set('AUTOCLOSE', self::AUTOCLOSE)->set('CCNAME', self::CCNAME)->set('NOTIFYADDRESS', self::NOTIFYADDRESS)->set('USERNOTIFY', self::USERNOTIFY)->set('LANGID', self::LANGID)->set('SHOWLANGUAGES', self::SHOWLANGUAGES)->set('PAYMENTMETHODS', 1)->set('PROVIDERSET', 1)->set('DURATION', self::DURATION)->set('CARDREFID', self::CARDREFID)->set('DELIVERY', self::DELIVERY)->set('APPEARANCE', self::APPEARANCE)->set('ADDRESS', self::ADDRESS)->set('COMPANY', self::COMPANY)->set('GENDER', self::GENDER)->set('FIRSTNAME', self::FIRSTNAME)->set('LASTNAME', self::LASTNAME)->set('STREET', self::STREET)->set('ZIP', self::ZIP)->set('CITY', self::CITY)->set('COUNTRY', self::COUNTRY)->set('EMAIL', self::EMAIL)->set('PHONE', self::PHONE);
     $this->assertEquals(self::ACCOUNTID, $payInitParameter->get('ACCOUNTID'));
     $this->assertEquals(self::AMOUNT, $payInitParameter->get('AMOUNT'));
     $this->assertEquals(self::CURRENCY, $payInitParameter->get('CURRENCY'));
     $this->assertEquals(self::DESCRIPTION, $payInitParameter->get('DESCRIPTION'));
     $this->assertEquals(self::ORDERID, $payInitParameter->get('ORDERID'));
     $this->assertEquals(self::VTCONFIG, $payInitParameter->get('VTCONFIG'));
     $this->assertEquals(self::SUCCESSLINK, $payInitParameter->get('SUCCESSLINK'));
     $this->assertEquals(self::FAILLINK, $payInitParameter->get('FAILLINK'));
     $this->assertEquals(self::BACKLINK, $payInitParameter->get('BACKLINK'));
     $this->assertEquals(self::NOTIFYURL, $payInitParameter->get('NOTIFYURL'));
     $this->assertEquals(self::AUTOCLOSE, $payInitParameter->get('AUTOCLOSE'));
     $this->assertEquals(self::CCNAME, $payInitParameter->get('CCNAME'));
     $this->assertEquals(self::NOTIFYADDRESS, $payInitParameter->get('NOTIFYADDRESS'));
     $this->assertEquals(self::USERNOTIFY, $payInitParameter->get('USERNOTIFY'));
     $this->assertEquals(self::LANGID, $payInitParameter->get('LANGID'));
     $this->assertEquals(self::SHOWLANGUAGES, $payInitParameter->get('SHOWLANGUAGES'));
     $this->assertEquals(1, $payInitParameter->get('PAYMENTMETHODS'));
     $this->assertEquals(1, $payInitParameter->get('PROVIDERSET'));
     $this->assertEquals(self::DURATION, $payInitParameter->get('DURATION'));
     $this->assertEquals(self::CARDREFID, $payInitParameter->get('CARDREFID'));
     $this->assertEquals(self::DELIVERY, $payInitParameter->get('DELIVERY'));
     $this->assertEquals(self::APPEARANCE, $payInitParameter->get('APPEARANCE'));
     $this->assertEquals(self::ADDRESS, $payInitParameter->get('ADDRESS'));
     $this->assertEquals(self::COMPANY, $payInitParameter->get('COMPANY'));
     $this->assertEquals(self::GENDER, $payInitParameter->get('GENDER'));
     $this->assertEquals(self::FIRSTNAME, $payInitParameter->get('FIRSTNAME'));
     $this->assertEquals(self::LASTNAME, $payInitParameter->get('LASTNAME'));
     $this->assertEquals(self::STREET, $payInitParameter->get('STREET'));
     $this->assertEquals(self::ZIP, $payInitParameter->get('ZIP'));
     $this->assertEquals(self::CITY, $payInitParameter->get('CITY'));
     $this->assertEquals(self::COUNTRY, $payInitParameter->get('COUNTRY'));
     $this->assertEquals(self::EMAIL, $payInitParameter->get('EMAIL'));
     $this->assertEquals(self::PHONE, $payInitParameter->get('PHONE'));
     $this->assertCount(0, $payInitParameter->getInvalidData());
 }