Beispiel #1
0
 public function testSetDefaultVersion()
 {
     $this->api->setVersion('3.0');
     $this->renderMock->expects($this->once())->method('render')->with(array('AMOUNT' => 100, 'IDENTIFIER' => 'i', 'OPERATIONTYPE' => 'payment', 'ORDERID' => 42, 'CLIENTIDENT' => 'ident', 'VERSION' => '3.0', 'HASH' => 'dummy', 'DESCRIPTION' => 'desc'));
     $this->api->buildPaymentFormButton(100, 42, 'ident', 'desc', array());
 }