Exemple #1
0
 public function testGetCountryMethods()
 {
     $this->assertNotContains('payflow_direct', $this->_model->getCountryMethods('GB'));
     $this->assertContains(Config::METHOD_WPP_PE_EXPRESS, $this->_model->getCountryMethods('CA'));
     $this->assertNotContains(Config::METHOD_WPP_PE_EXPRESS, $this->_model->getCountryMethods('GB'));
     $this->assertContains(Config::METHOD_WPP_PE_EXPRESS, $this->_model->getCountryMethods('CA'));
     $this->assertContains(Config::METHOD_WPP_EXPRESS, $this->_model->getCountryMethods('DE'));
     $this->assertContains(Config::METHOD_BILLING_AGREEMENT, $this->_model->getCountryMethods('DE'));
 }
Exemple #2
0
 public function testGetCountryMethods()
 {
     $this->assertNotContains('payflow_direct', $this->_model->getCountryMethods('GB'));
     $this->assertContains(Config::METHOD_WPP_PE_EXPRESS, $this->_model->getCountryMethods('CA'));
     $this->assertNotContains(Config::METHOD_WPP_PE_EXPRESS, $this->_model->getCountryMethods('GB'));
     $this->assertContains(Config::METHOD_WPP_PE_EXPRESS, $this->_model->getCountryMethods('CA'));
     $this->assertContains(Config::METHOD_WPP_EXPRESS, $this->_model->getCountryMethods('DE'));
     $this->assertContains(Config::METHOD_BILLING_AGREEMENT, $this->_model->getCountryMethods('DE'));
     $this->assertNotContains(Config::METHOD_WPP_PE_BML, $this->_model->getCountryMethods('other'));
     $this->assertNotContains(Config::METHOD_WPP_BML, $this->_model->getCountryMethods('other'));
     $this->assertNotContains(Config::METHOD_WPP_PE_BML, $this->_model->getCountryMethods('CA'));
     $this->assertNotContains(Config::METHOD_WPP_BML, $this->_model->getCountryMethods('CA'));
     $this->assertNotContains(Config::METHOD_WPP_PE_BML, $this->_model->getCountryMethods('GB'));
     $this->assertNotContains(Config::METHOD_WPP_BML, $this->_model->getCountryMethods('GB'));
     $this->assertNotContains(Config::METHOD_WPP_PE_BML, $this->_model->getCountryMethods('AU'));
     $this->assertNotContains(Config::METHOD_WPP_BML, $this->_model->getCountryMethods('AU'));
     $this->assertNotContains(Config::METHOD_WPP_PE_BML, $this->_model->getCountryMethods('NZ'));
     $this->assertNotContains(Config::METHOD_WPP_BML, $this->_model->getCountryMethods('NZ'));
     $this->assertNotContains(Config::METHOD_WPP_PE_BML, $this->_model->getCountryMethods('JP'));
     $this->assertNotContains(Config::METHOD_WPP_BML, $this->_model->getCountryMethods('JP'));
     $this->assertNotContains(Config::METHOD_WPP_PE_BML, $this->_model->getCountryMethods('FR'));
     $this->assertNotContains(Config::METHOD_WPP_BML, $this->_model->getCountryMethods('FR'));
     $this->assertNotContains(Config::METHOD_WPP_PE_BML, $this->_model->getCountryMethods('IT'));
     $this->assertNotContains(Config::METHOD_WPP_BML, $this->_model->getCountryMethods('IT'));
     $this->assertNotContains(Config::METHOD_WPP_PE_BML, $this->_model->getCountryMethods('ES'));
     $this->assertNotContains(Config::METHOD_WPP_BML, $this->_model->getCountryMethods('ES'));
     $this->assertNotContains(Config::METHOD_WPP_PE_BML, $this->_model->getCountryMethods('HK'));
     $this->assertNotContains(Config::METHOD_WPP_BML, $this->_model->getCountryMethods('HK'));
     $this->assertNotContains(Config::METHOD_WPP_PE_BML, $this->_model->getCountryMethods('DE'));
     $this->assertNotContains(Config::METHOD_WPP_BML, $this->_model->getCountryMethods('DE'));
 }