public function testCompletePurchaseSuccess()
 {
     $this->response = new CompletePurchaseResponse($this->getMockRequest(), array('sessionid' => '123abc', 'errorstatus' => '1', 'authstatus' => '1', 'authcode' => '10', 'errorcode' => '', 'errordescription' => '', 'iasorderno' => '987654', 'cardtype' => 'VC', 'amountpaid' => '2000'));
     $this->assertTrue($this->response->isSuccessful());
     $this->assertFalse($this->response->isRedirect());
     $this->assertFalse($this->isError());
     $this->assertSame('10', $this->response->getTransactionReference());
     $this->assertSame('987654', $this->response->getTransactionId());
     $this->assertNull($this->response->getMessage());
     $this->assertSame('VC', $this->response->getCardType());
     $this->assertSame('20.00', $this->response->getAmountPaid());
 }