/**
  * Set up the testing environment.
  */
 public function setUp()
 {
     parent::setUp();
     $request = new PurchaseRequest($this->getHttpClient(), $this->getHttpRequest());
     $options = array_merge($this->options, ['paymentData' => ['accountOwner' => 'Some Guy', 'accountNumber' => '123456', 'bankCode' => '654321']]);
     $this->request = $request->initialize($options);
     $this->options = $options;
 }
 public function setUp()
 {
     $this->request = new PurchaseRequest($this->getHttpClient(), $this->getHttpRequest());
     $this->request->initialize(array('channel' => 'ADELANTE', 'sessionId' => '123abc', 'currency' => 'GBP', 'returnUrl' => 'https://www.example.com/return', 'returnMethod' => 'post', 'sendMail' => 'n', 'testendpoint' => 'https://devpayments.epsom-ewell.gov.uk/TestPay/wsconn_pay.asp', 'liveendpoint' => 'https://payments.epsom-ewell.gov.uk/Pay/wsconn_pay.asp', 'items' => array(array('price' => 1.45, 'quantity' => 1, 'name' => 'Test item 1', 'description' => '1 x test item 1', 'fundcode' => '2')), 'card' => array('firstName' => 'Fred', 'lastName' => 'Jones', 'address1' => '1 The Road', 'address2' => '', 'city' => 'Bigtown', 'postcode' => 'TE57 1NG', 'state' => '', 'country' => 'United Kingdom', 'phone' => '01234 5678901', 'email' => '*****@*****.**')));
 }