예제 #1
0
 /**
  * Prepares the environment before running a test.
  */
 protected function setUp()
 {
     $this->_model = new Checksum();
     $this->_model->setChecksumType(Checksum::TYPE_PAYPAL);
     $this->_model->setChecksumAction(Checksum::ACTION_TRANSACTION);
     $this->_model->setAmount('200');
     $this->_model->setCurrency('EUR');
     $this->_model->setDescription('Dummy description');
     $this->_model->setReturnUrl('http://dummy.url');
     $this->_model->setCancelUrl('http://dummy.url');
     parent::setUp();
 }