function testGetAllPaymentMethods()
 {
     $config = Svea\SveaConfig::getDefaultConfig();
     $response = WebPay::getPaymentMethods($config)->setCountryCode("SE")->doRequest();
     //print_r( "testGetAllPaymentMethods: "); //print_r( $response );
     $this->assertEquals(PaymentMethod::BANKAXESS, $response[0]);
     $this->assertEquals(PaymentMethod::NORDEA_SE, $response[1]);
     $this->assertEquals(PaymentMethod::SEB_SE, $response[2]);
     $this->assertEquals(PaymentMethod::KORTCERT, $response[3]);
     $this->assertEquals(\Svea\SystemPaymentMethod::INVOICE_SE, $response[4]);
     $this->assertEquals(\Svea\SystemPaymentMethod::PAYMENTPLAN_SE, $response[5]);
     $this->assertEquals(PaymentMethod::INVOICE, $response[6]);
     $this->assertEquals(PaymentMethod::PAYMENTPLAN, $response[7]);
 }
 /**
  * @expectedException Exception
  * @expectedExceptionMessage
  * -missing parameter: This method requires an ConfigurationProvider object as parameter. Create a class that implements class ConfigurationProvider. Set returnvalues to configuration values. Create an object from that class. Alternative use static function from class SveaConfig e.g. SveaConfig::getDefaultConfig(). You can replace the default config values to return your own config values in the method.
  */
 public function tes_tFailOnMissingCofigurationProviderGetPaymentMethods()
 {
     $object = \WebPay::getPaymentMethods();
 }