コード例 #1
0
 /**
  * tests the fest checkout
  */
 public function testFastCheckout()
 {
     $this->assertTrue($this->ProcessPayment());
     $this->assertNotEmpty($this->_clientId);
     $this->assertNotEmpty($this->_paymentId);
     $this->_paymentProcessor->setClientId($this->_clientId);
     $this->_paymentProcessor->setPaymentId($this->_paymentId);
     $this->assertTrue($this->_paymentProcessor->processPayment(), $this->_actualLoggingMessage);
     $this->assertEquals($this->_paymentProcessor->getClientId(), $this->_clientId, 'ClientId doesn´t match.');
     $this->assertEquals($this->_paymentProcessor->getPaymentId(), $this->_paymentId, 'PaymentId doesn´t match.');
 }